package com.jeesharp.business.modules.finance.merchantreceivable.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 平台代收场景下，按日或按月聚合的平台佣金与商户应得汇总。
 *
 * @author jeesharp
 * @since 2026-06-29
 */
@Data
@Schema(description = "平台佣金周期汇总VO")
public class PlatformCommissionPeriodSummaryVO {

    @Schema(description = "周期键：日 yyyy-MM-dd 或月 yyyy-MM")
    private String periodKey;

    @Schema(description = "聚合粒度：DAY-按日 MONTH-按月")
    private String periodType;

    @Schema(description = "收款入账笔数")
    private Long payCount;

    @Schema(description = "退款冲减笔数")
    private Long refundCount;

    @Schema(description = "平台佣金净额（元）")
    private BigDecimal netCommissionAmount;

    @Schema(description = "商户应得净额（元）")
    private BigDecimal netMerchantAmount;
}
