package com.yc.ship.module.trade.api.dto;

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Schema(description = "RPC 服务 - 退款审核创建 Request DTO")
@Data
public class TradeRefundAuditReqDTO implements Serializable {


    @Schema(description = "退票批次ID", example = "")
    @NotNull(message = "退票批次ID不能为空")
    private Long refundId;

    @Schema(description = "审核状态 0拒绝 1同意", example = "")
    @NotNull(message = "审核状态不能为空")
    private Integer auditStatus;

    @Schema(description = "审核意见", example = "")
    private String auditAdvice;

    @Schema(description = "审核人", example = "")
    @NotNull(message = "审核人不能为空")
    private Long auditUser;

    @Schema(description = "退款金额，审核人可修改退款金额", example = "")
    private BigDecimal refundAmount;
}
