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

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

/**
 * 微信 partner JSAPI 下单请求 DTO。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "partner JSAPI 下单请求")
public class PayPartnerJsapiRequestDTO {

    @Schema(description = "平台微信配置租户")
    private String platformTenantId;

    @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 = "支付者 openid")
    private String payerOpenId;

    @Schema(description = "通知地址")
    private String notifyUrl;

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

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