# EngineeringRequestQuery.java

    package cloud.wconnect.frontoffice.pojo.query.engineeringrequest;

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

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

    /**
     * Query: Engineering Request
     *
     * @author yyt
     * 2023/3/29
     */
    @Data
    public class EngineeringRequestQuery {

        /**
         * 资产 id
         */
        @NotBlank(message = "the property must not be blank")
        private String property;

        /**
         * priority (0:Normal 1:Urgent 2:Critical)
         */
        @Range(min = 0, max = 2, message = "the priority must in [0:Normal 1:Urgent 2:Critical]")
        private Integer priority;

        /**
         * 状态 (0:Open; 1:Closed; 2:In Progress)
         */
        @Range(min = 0, max = 2, message = "the status must in [0:Open; 1:Closed; 2:In Progress]")
        private Integer status;

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

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

    }