# OutOfOfficeQuery.java

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

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

    /**
     * Query: Out Of Office
     *
     * @author: yyt
     * 2026-03-18
     */
    @Data
    public class OutOfOfficeQuery {

        /**
         * 类型（1:Sales 2:Front Desk 3:Accounting）
         */
        @Range(min = 1, max = 3, message = "the type must in [1:Sales, 2:Front Desk, 3:Accounting]")
        private Integer type;

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

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

    }