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

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

/**
 * 微信查单/关单统一结果 DTO。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "微信查单/关单结果")
public class PayWechatTransactionOpsResultDTO {

    @Schema(description = "是否成功")
    private Boolean success;

    @Schema(description = "交易状态 trade_state（直连/partner 查单）")
    private String tradeState;

    @Schema(description = "合单状态 combine_state（合单查单）")
    private String combineState;

    @Schema(description = "错误信息")
    private String errorMsg;

    @Schema(description = "原始 JSON")
    private String rawResponse;
}
