# WalkRoomApproveDTO.java

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

    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;

    /**
     * @author lichen
     * @description walk room功能审核上送数据
     * @date 2023/3/22 18:10
     */
    @Data
    public class WalkRoomApproveDTO {

        /**
         * 审核意见
         */
        @Length(max = 300, message = "The max length of approveOpinion is 300 chars.")
        private String approveOpinion;

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

        /**
         * 审核状态 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;

        /**
         * 审批类型
         */
        @NotNull(message = "The approveType must not be null")
        @Range(min = 1,max = 2, message = "The type must be 1:Sent 2:Receive")
        private Integer approveType;

    }