# CommentDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * Comment的dto对象
     *
     * @author lichen
     * @date 2023/5/24
     */
    @Data
    public class CommentDTO {

        /**
         * 主键id
         */
        private int id;

        /**
         * comment
         */
        @NotBlank(message = "The comment cannot be blank")
        @Length(max = 1000,message = "The comment is limited 1000 characters")
        private String comment;

    }