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

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

import java.util.List;

/**
 * 微信合单 JSAPI 下单请求 DTO（阶段 5 partner 下单前置能力）。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "合单 JSAPI 下单请求")
public class PayCombineJsapiRequestDTO {

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

    @Schema(description = "合单商户订单号 combine_out_trade_no")
    private String combineOutTradeNo;

    @Schema(description = "支付者 openid")
    private String payerOpenId;

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

    @Schema(description = "订单失效时间 RFC3339")
    private String timeExpire;

    @Schema(description = "子单列表")
    private List<PayCombineSubOrderDTO> subOrders;
}
