# BadGuestCommentDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * 黑名单备注DTO
     *
     * @author lichen
     * @date 2024/6/17
     */
    @Data
    public class BadGuestCommentDTO {

        /**
         * 评论内容
         */
        @NotNull(message = "The content cannot be null")
        @Length(max = 500, message = "The content length max is 500")
        private String content;

        /**
         * 附件
         */
        @NotBlank(message = "The attachments cannot be blank")
        private String attachments;

    }