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

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

/**
 * 微信查单/关单统一请求，按 {@code payRouteType} 路由至 DIRECT / PARTNER / COMBINE API。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "微信查单/关单请求")
public class PayWechatTransactionOpsRequestDTO {

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

    /**
     * @see com.jeesharp.business.modules.pay.paywechatconfig.enums.WechatPayRouteTypeEnum
     */
    @Schema(description = "支付路由：DIRECT、PARTNER、COMBINE")
    private String payRouteType;

    @Schema(description = "商户订单号 out_trade_no（DIRECT/PARTNER 查关单）")
    private String outTradeNo;

    @Schema(description = "特约子商户号 sub_mchid（PARTNER 查关单必填）")
    private String subMchId;

    @Schema(description = "合单商户订单号 combine_out_trade_no（COMBINE 查关单）")
    private String combineOutTradeNo;
}
