# CancellationFlightsQuery.java

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

    import lombok.Data;

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

    /**
     * Query: 机场取消航班数量
     *
     * @author zc
     * @date 2024/03/25
     */
    @Data
    public class CancellationFlightsQuery {

        /**
         * 日期（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;
    }