# AdjApproveDTO.java

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

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

    import jakarta.validation.constraints.NotNull;

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

        /**
         * 审核意见
         */
        private String approveOpinion;
        /**
         * 审核人
         */
        @NotNull(message = "the approveBy must not be null")
        private Integer approveBy;
        /**
         * 审核状态 ApprovalStatusEnum
         */
        @Range(min = 2, max = 4, message = "the approveStatus must be 2:return 3:approved or 4:rejected")
        @NotNull(message = "the approveStatus cannot be null")
        private Integer approveStatus;

    }