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

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

import java.math.BigDecimal;

/**
 * 从应收账按时间窗聚合的汇总快照，供日汇总任务写入 {@code biz_platform_revenue}。
 *
 * @author jeesharp
 * @since 2026-06-29
 */
@Data
@Schema(description = "平台收入日汇总聚合快照")
public class PlatformRevenueRollupAggregateVO {

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

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

    @Schema(description = "收款基数合计（元）")
    private BigDecimal payBaseAmount;

    @Schema(description = "退款冲减合计（元）")
    private BigDecimal refundBaseAmount;

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

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