# BookingQuery.java

    package cloud.wconnect.rateshop.pojo.query.booking;

    import lombok.Data;

    import jakarta.validation.constraints.NotNull;

    /**
     * Query: Booking
     *
     * @author: yyt
     * 2024-07-22
     */
    @Data
    public class BookingQuery {

        /**
         * 开始日期（yyyyMMdd）
         */
        @NotNull(message = "the startDate must not be null")
        private Integer startDate;

        /**
         * 结束日期（yyyyMMdd）
         */
        @NotNull(message = "the endDate must not be null")
        private Integer endDate;

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

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

    }