# ApproveDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

    /**
     * @author lichen
     * @description 审核上送数据
     * @date 2023/3/22 18:10
     */
    @Data
    public class ApproveDTO {

        /**
         * 审核意见
         */
        @Length(max = 300, message = "The max length of approveOpinion is 300 chars.")
        private String approveOpinion;
        /**
         * 审核人
         */
        @NotNull(message = "the approveBy must not 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;

    }