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

import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商户应收账列表行 VO。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "商户应收账列表VO")
public class MerchantReceivableListVO extends BaseListVO {

    @Schema(description = "应收流水号")
    private String receivableNo;

    @Schema(description = "流水类型")
    private String entryType;

    @Schema(description = "流水类型名称")
    private String entryTypeName;

    @Schema(description = "商城子订单编号")
    private String orderNo;

    @Schema(description = "合并支付批次编号")
    private String batchNo;

    @Schema(description = "商城子订单ID")
    private String mallOrderId;

    @Schema(description = "子单商户租户ID")
    private String merchantTenantId;

    @Schema(description = "基数金额（元）")
    private BigDecimal baseAmount;

    @Schema(description = "佣金比例")
    private BigDecimal commissionRate;

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

    @Schema(description = "商户应收金额（元）")
    private BigDecimal merchantAmount;

    @Schema(description = "业务发生时间")
    private LocalDateTime bizTime;
}
