# ItInventoryQuery.java

    package cloud.wconnect.it.pojo.query.itinventory;

    import lombok.Data;

    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * Query: It Inventory
     *
     * @author yyt
     * 2024/3/2
     */
    @Data
    public class ItInventoryQuery {

        /**
         * 选择开始日期
         */
        private Long startDate;

        /**
         * 选择结束日期
         */
        private Long endDate;

        /**
         * 选择状态（1:In use，2:Sealed，3:Discard）
         */
        private List<Integer> status;

        /**
         * Device Name
         */
        private String deviceName;

        /**
         * User
         */
        private String userName;

        /**
         * Serial number
         */
        private String serialNumber;

        /**
         * OS
         */
        private String os;

        /**
         * 页码
         */
        @NotNull(message = "the page must not be null")
        private Integer page;

        /**
         * 每页显示条数
         */
        @NotNull(message = "the size must not be null")
        private Integer size;

    }