# RecommendHoursDTO.java

    package cloud.wconnect.workperformance.pojo.dto.sva.recommendhours;

    import lombok.Data;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * DTO类：recommend hours
     *
     * @author zc
     * @date 2023/3/13
     */
    @Data
    public class RecommendHoursDTO {

        /**
         * id
         */
        private Integer id;

        /**
         * 开始应用日期
         */
        @NotNull(message = "The startingDate cannot be null.")
        private Long startingDate;

        /**
         * 分类对应一周推荐小时数（{"1"（分类id）:{（1-7表示周一到周末）"5":25,"6":25,...},"2":{"5":25,"6":25,...}}）
         */
        @NotBlank(message = "The categoryRecomHours cannot be blank.")
        private String categoryRecomHours;

        public static final int LESS_THAN = 0;
        public static final int GREATER_THAN = 1;
        public static final int EQUAL_TO = 2;
    }