# NotifyRuleDTO.java

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

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.constraints.NotBlank;

    /**
     * 通知规则的Json DTO
     *
     * @author lichen
     * @date 2024/6/18
     */
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    @Builder
    public class NotifyRuleDTO {

        /**
         * 规则
         */
        @NotBlank(message = "The rule cannot be blank")
        private String rule;

    }