# ScheduleEmailQuery.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * Query：Schedule Email
     *
     * @author yyt
     * 2023/7/3
     */
    @Data
    public class ScheduleEmailQuery {

        /**
         * 类型（1：employee 报告缺失，2：申请部门权限通知, 3:history and forecast 报告缺失）
         */
        @NotNull(message = "the type must not be null")
        @Range(min = 1, max = 3, message = "the type must in [1：employee report miss，2：apply department permission config, 3: history and forecast report miss]")
        private Integer type;

    }