# ShiftQuery.java

    package cloud.wconnect.frontoffice.pojo.query;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    /**
     * Query：shift
     *
     * @author yyt
     * 2022/6/20
     */
    @Data
    public class ShiftQuery {

        /**
         * 关键字
         */
        private String keyword;

        /**
         * 类型 5：pass on；2：issues；6：check in；4：resume；7：complaint
         */
        @NotNull(message = "the target must not be null")
        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;

    }