package com.jeesharp.business.modules.pay.combine.dto;

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

/**
 * 微信合单子单 DTO，对应 combine-transactions 请求体 sub_orders 元素。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "合单子单")
public class PayCombineSubOrderDTO {

    @Schema(description = "服务商商户号 mchid")
    private String mchId;

    @Schema(description = "特约子商户号 sub_mchid")
    private String subMchId;

    @Schema(description = "子单商户订单号 out_trade_no")
    private String outTradeNo;

    @Schema(description = "商品描述")
    private String description;

    @Schema(description = "子单金额（分）")
    private Integer totalAmountFen;

    @Schema(description = "是否分账 profit_sharing")
    private Boolean profitSharing;

    @Schema(description = "补差金额（分）subsidy_amount")
    private Integer subsidyAmountFen;

    @Schema(description = "附加数据 attach")
    private String attach;
}
