| package com.dy.pipIrrSell.general.dto; | 
|   | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import jakarta.validation.constraints.NotNull; | 
| import jakarta.validation.constraints.Positive; | 
| import lombok.*; | 
| import org.hibernate.validator.constraints.Length; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-01-25 10:19 | 
|  * @LastEditTime 2024-01-25 10:19 | 
|  * @Description | 
|  */ | 
|   | 
| @Data | 
| @Builder | 
| @ToString | 
| @NoArgsConstructor | 
| @AllArgsConstructor | 
| @Schema(name = "总账审核传入对象") | 
| public class DtoGeneral { | 
|     public static final long serialVersionUID = 202401251020001L; | 
|   | 
|     /** | 
|      * 总账ID | 
|      */ | 
|     @Schema(description = "总账ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "总账ID不能为空") | 
|     @Positive(message = "总账编号必须为大于0的整数") | 
|     private Long generalId; | 
|   | 
|     /** | 
|      * 审核状态 | 
|      */ | 
|     @Schema(description = "审核状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "审核状态不能为空") | 
|     private Byte auditStatus; | 
|   | 
|     /** | 
|      * 审核意见 | 
|      */ | 
|     @Schema(description = "审核意见", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @Length(max = 200, message = "审核意见最多200字") | 
|     private String auditOpinion; | 
|   | 
|     /** | 
|      * 操作人编号 | 
|      */ | 
|     @Schema(description = "操作人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "操作人编号不能为空") | 
|     @Positive(message = "操作人编号必须为大于0的整数") | 
|     private Long operator; | 
| } |