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

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

/**
 * 微信电商收付通分账回退结果 DTO。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Data
@Schema(description = "微信分账回退结果")
public class PayProfitSharingReturnResultDTO {

    @Schema(description = "渠道调用是否成功（HTTP 成功且已受理）")
    private boolean success;

    @Schema(description = "微信回退单号 return_no")
    private String wxReturnNo;

    @Schema(description = "微信回退结果：PROCESSING、SUCCESS、FAILED")
    private String result;

    @Schema(description = "失败原因")
    private String failReason;

    @Schema(description = "渠道错误码")
    private String errorCode;

    @Schema(description = "渠道错误说明")
    private String errorMsg;

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