# GroupPickupQuery.java

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

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

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

    /**
     * Query: Group Pickup
     *
     * @author zc
     * @date 2024/03/25
     */
    @Data
    public class GroupPickupQuery {

        /**
         * 日期（yyyy-MM-dd）
         */
        @NotBlank(message = "The theDate cannot be blank")
        @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "The theDate format is incorrect, right format is [yyyy-MM-dd]")
        private String theDate;

        /**
         * 状态，1:Definite 2:Tentative 3:Prospect 4:Cancelled
         */
        @NotNull(message = "The bookingStatus cannot be null")
        @Range(min = 1, max = 4, message = "The bookingStatus must be in [1:Definite 2:Tentative 3:Prospect 4:Cancelled]")
        private Integer bookingStatus;

        /**
         * 当前页码
         */
        private Integer page;

        /**
         * 每页条数
         */
        private Integer size;
    }