# SaveAdjCommentDTO.java

    package cloud.wconnect.finance.pojo.dto.chargeback;

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

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

    /**
     * DTO: Save Adj Comment
     *
     * @author yyt
     * 2023/9/2
     */
    @Data
    public class SaveAdjCommentDTO {

        /**
         * 备注内容
         */
        @NotBlank(message = "the content must not be blank")
        @Length(max = 500, message = "the content max length is 500")
        private String content;

        /**
         * 附件
         */
        @NotNull(message = "the attachments must not be null")
        private String attachments;

    }