# NightAuditLogDTO.java

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

    import lombok.*;
    import lombok.experimental.Accessors;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO类：加载 Night Audit Log 的信息
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public class NightAuditLogDTO {
        /**
         * 主键id
         */
        @NotNull(message = "The id cannnot be null")
        private Long id;

        /**
         * Email Sent Date
         */
        private Long emailDate;

        /**
         * Email Subject
         */
        @Length(max = 500, message = "The emailSubject is limited 500 characters")
        private String emailSubject;

        /**
         * Address to
         */
        @Length(max = 500, message = "The addressTo is limited 500 characters")
        private String addressTo;

        /**
         * RV #
         */
        @Length(max = 500, message = "The rvNumber is limited 500 characters")
        private String rvNumber;

        /**
         * need Clarification
         */
        @Length(max = 2000, message = "The questions is limited 2000 characters")
        private String questions;

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

        /**
         * Attachment Urls
         */
        @Length(max = 2000, message = "The attachments is limited 2000 characters")
        private String attachments;

        private Long pendingDays;

        private String resolvedByName;

        private Long resolvedTime;

        private String createdByName;

        private Long createdTime;
    }