package com.jeesharp.business.modules.finance.payrefund.vo;

import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 支付退款单列表行 VO。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "支付退款单列表VO")
public class PayRefundOrderListVO extends BaseListVO {

    @Schema(description = "平台退款单号")
    private String refundNo;

    @Schema(description = "商户退款单号")
    private String outRefundNo;

    @Schema(description = "商城子订单ID")
    private String mallOrderId;

    @Schema(description = "售后单ID")
    private String afterSaleId;

    @Schema(description = "业务场景")
    private String bizScene;

    @Schema(description = "业务场景名称")
    private String bizSceneName;

    @Schema(description = "退款状态")
    private String status;

    @Schema(description = "退款状态名称")
    private String statusName;

    @Schema(description = "本次退款金额（元）")
    private BigDecimal refundAmount;

    @Schema(description = "微信退款单号")
    private String wxRefundId;

    @Schema(description = "退款成功时间")
    private LocalDateTime refundTime;

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