# BgNotifyRuleDTO.java

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

    import lombok.Data;

    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.Size;
    import java.util.List;

    /**
     * 黑名单通知规则DTO
     *
     * @author lichen
     * @date 2024/6/5
     */
    @Data
    public class BgNotifyRuleDTO {

        /**
         * 通知规则
         */
        @NotEmpty(message = "The rules cannot be empty")
        @Size(min = 1, max = 5, message = "The rules size must between in [1:Approval notify 2:Checked in 3:Arrivals detailed report missed 4:Guest in house report missed 5:Reservations made yesterday report missed]")
        private List<Integer> rules;

    }