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

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

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

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

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

    @Schema(description = "关联订单", example = "14732")
    private Long orderId;

    @Schema(description = "退款金额")
    @NotNull(message = "退款金额不能为空")
    private BigDecimal money;

    @Schema(description = "审核状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "审核状态不能为空")
    private String status;

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

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

    @Schema(description = "手机", example = "王五")
    private String mobile;

}