# ScheduleWorkDayDTO.java

    package cloud.wconnect.workperformance.pojo.dto.schedule;

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO：开始工作日
     *
     * @author yyt
     * 2023/6/29
     */
    @Data
    public class ScheduleWorkDayDTO {

        @NotNull(message = "the workDay must not be null")
        @Range(min = 1, max = 7, message = "the workDay must in [1:Monday，2：Tuesday，3：Wednesday，4：Thursday，5：Friday，6：Saturday，7：Sunday]")
        private Integer workDay;

    }