# FirstDayDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO类：first day
     *
     * @author zc
     * @date 2023/03/20
     */
    @Data
    public class FirstDayDTO {

        /**
         * 周起始日（1:Mon, 2:Tue, 3:Wed, 4:Thu, 5:Fri, 6:Sat, 7:Sun）
         */
        @NotNull(message = "The firstDay cannot be null")
        @Range(min = 1, max = 7, message = "The firstDay must limit in [1:Mon, 2:Tue, 3:Wed, 4:Thu, 5:Fri, 6:Sat, 7:Sun].")
        private Integer firstDay;
    }