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

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

/**
 * 微信 partner 交易操作结果 DTO。
 *
 * @author jeesharp
 * @since 2026-06-12
 */
@Data
@Schema(description = "partner 交易结果")
public class PayPartnerTransactionResultDTO {

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

    @Schema(description = "prepay_id")
    private String prepayId;

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

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

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