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

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 活动奖项新增/修改 Request VO")
@Data
public class ActivityAwardsListDTO {


    @Schema(description = "奖项名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "奖项名称不能为空")
    private String awardsName;

    private String limitType;

    @Schema(description = "奖项人数")
    private Integer awardsNum;

    @Schema(description = "奖品")
    private String prize;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sortNum;

}