# IwcRuleDTO.java

    package cloud.wconnect.rateshop.pojo.dto.rateshop.alertmessage.alertrule;

    import jakarta.validation.constraints.NotNull;
    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;
    import org.hibernate.validator.constraints.Range;

    /**
     * alert-需求趋势规则 DTO
     *
     * @author lichen
     * @date 2024/5/14
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public class IwcRuleDTO {

        /**
         * 状态
         */
        @NotNull(message = "The status cannot be null")
        @Range(min = 0, max = 1, message = "The status must between in [1:enable 0:disable]")
        private Integer status;

    }