# SoldOutRuleDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * alert-房价售罄 DTO
     *
     * @author lichen
     * @date 2024/5/14
     */
    @Data
    public class SoldOutRuleDTO {

        /**
         * 状态
         */
        @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;

    }