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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 假期新增/修改 Request VO")
@Data
public class HolidaySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30414")
    private Long id;

    @Schema(description = "是否假期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否假期不能为空")
    private Boolean holiday;

    @Schema(description = "中文名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "中文名不能为空")
    private String name;

    @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "日期不能为空")
    private String date;

}