# AdRequestCommentDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * 审批单评论
     */
    @Data
    public class AdRequestCommentDTO {

        /**
         * 主键id
         */
        @NotNull(message = "the id must not be empty")
        private Long id;
        /**
         * 内容
         */
        @NotNull(message = "the content must not be empty")
        @Length(min = 1,max = 500,message = "the content length is between 1 and 500")
        private String content;
        /**
         * 附件
         */
        private String attachments;

    }