# PastReservationCommentDTO.java

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

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

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO类：入住人员信息备注
     *
     * @author yyt
     * 2024/10/2
     */
    @Data
    public class PastReservationCommentDTO {

        /**
         * 备注 id
         */
        private Long id;

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

        /**
         * 创建人
         */
        private Integer createdBy;

        /**
         * 创建人姓名
         */
        private String createdByName;

        /**
         * 头像
         */
        private String avatar;

        /**
         * 创建时间
         */
        private Long createdTime;

    }