# SalesImportLogQuery.java

    package cloud.wconnect.workperformance.pojo.query.mor.sales;

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

    import java.util.List;

    /**
     * Query: Sales Import Log
     *
     * @author zc
     * @date 2024/5/17
     */
    @Data
    public class SalesImportLogQuery {

        /**
         * 导入结果
         */
        private List<@Range(min = 1, max = 6, message = "The status must between in [1:success 2:fail 3:ignore 4:progress 5:Repairing 6:Missed]") Integer> status;

        /**
         * 报告类型
         */
        @Range(min = 4, max = 4, message = "The type must be in [4:Operating statistics daily].")
        private Integer reportType;

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

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

        /**
         * 开始数据日期范围（yyyyMMdd）
         */
        private Long startFromDataDate;
        private Long startToDataDate;

        /**
         * 结束数据日期范围（yyyyMMdd）
         */
        private Long endFromDataDate;
        private Long endToDataDate;

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

        /**
         * 每页条数
         */
        private Integer size;

    }