package cn.iocoder.yudao.module.member.controller.app.refund.vo;

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

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

@Schema(description = "管理后台 - 退款审核新增/修改 Request VO")
@Data
public class AppRefundSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20066")
    private Long id;

    @Schema(description = "关联订单", example = "14732")
    @NotNull(message = "关联订单不能为空")
    private Long orderId;

    @Schema(description = "退款金额")
    private BigDecimal orderMoney;

    @Schema(description = "审核状态(1:待审核)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String status;

    @Schema(description = "申请人ID", example = "21777")
    @NotNull(message = "申请人ID不能为空")
    private Long userId;

    @Schema(description = "审核人", example = "王五")
    private String userName;

}