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

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

/**
 * partner/合单预下单子单明细，由业务层传入商户租户与金额，供路由解析 sub_mchid。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "微信子单支付明细")
public class PayWechatSubPayItemDTO {

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

    @Schema(description = "子单业务订单 ID")
    private String bizOrderId;

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

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

    @Schema(description = "是否标记 profit_sharing")
    private Boolean needProfitSharing;

    @Schema(description = "微信 attach")
    private String attach;
}
