# PastReservationConsecutiveDayDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.pastreservation;

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

    import jakarta.validation.constraints.NotNull;

    /**
     * @author: yyt
     * 2024-10-02
     */
    @Data
    public class PastReservationConsecutiveDayDTO {

        /**
         * 1:Notice，2:Alert，3:Warning
         */
        @NotNull(message = "the type must not be null")
        @Range(min = 1, max = 3, message = "the type must in [1:Notice，2:Alert，3:Warning]")
        private Integer type;

        /**
         * 天数
         */
        @Range(min = 1, max = 10000, message = "the day must be between 1 and 10000")
        private Integer day;

    }