# CompRoomApproveDTO.java

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

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

    import jakarta.validation.constraints.NotNull;
    import jakarta.validation.constraints.Null;

    /**
     * 审批DTO
     *
     * @author lichen
     * @date 2023/8/22
     */
    @Data
    public class CompRoomApproveDTO {

        /**
         * 审核意见
         */
        @Length(max = 300, message = "The approveOpinion is limited 300 characters")
        private String approveOpinion;

        /**
         * 审核状态 ApproveStatusEnum
         */
        @NotNull(message = "The approveStatus must not be null")
        @Range(min = 3,max = 4, message = "The approveStatus must be 3:approved or 4:rejected")
        private Integer approveStatus;

        /**
         * 审批人
         */
        @Null(message = "The approveBy must be null")
        private Integer approveBy;

    }