# ImportAvHoursLogQuery.java

    package cloud.wconnect.workperformance.pojo.query.sva.avhours;

    import jakarta.validation.constraints.NotEmpty;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import java.util.List;

    /**
     * Query: 导入报告记录
     *
     * @author yyt
     * @date 2025/3/31
     */
    @Data
    public class ImportAvHoursLogQuery {

        /**
         * 页码
         */
        private Integer page;

        /**
         * 每页大小
         */
        private Integer size;

        /**
         * 开始操作日期（零点时刻 时间戳）
         */
        private Long startOperationDate;

        /**
         * 结束操作日期（最后一秒 时间戳）
         */
        private Long endOperationDate;

        /**
         * 开始数据日期范围（零点时刻 时间戳）
         */
        private Long startFromDataDate;
        private Long startToDataDate;

        /**
         * 结束数据日期范围（零点时刻 时间戳）
         */
        private Long endFromDataDate;
        private Long endToDataDate;

        /**
         * 状态
         */
        private List<@Range(min = 1, max = 6, message = "The status must between in [1:Success 2:Fail 3:Ignore 4:Processing 5:Repairing 6:Missed]") Integer> status;

        /**
         * 报告类型（1.实际工时报告，2.预计工时报告）
         */
        @NotEmpty(message = "the reportType cannot be empty")
        private List<@Range(min = 1, max = 2, message = "The reportType must between in [1:actual hour Report, 2:schedule hour report]") Integer> reportType;
    }