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 PayProfitSharingResultDTO {

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

    @Schema(description = "微信分账单号 order_id")
    private String wxOrderId;

    @Schema(description = "微信分账状态：PROCESSING、FINISHED 等")
    private String state;

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

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

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