package com.seer.teach.pay.api.wallet.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CoinAccountRefundDTO {

    /**
     * 充值订单号
     */
    @NotBlank(message = "充值订单号不能为空")
    private String outTradeNo;

    /**
     * 退款原因
     */
    private String refundReason;

    /**
     * 退款金额
     */
    @NotNull(message = "退款金额不能为空")
    private BigDecimal refundAmount;

    /**
     * 订单金额
     */
    @NotNull(message = "订单金额不能为空")
    private BigDecimal totalAmount;

    /**
     * 退款单号
     */
    @NotBlank(message = "退款单号不能为空")
    private String refundSn;
}