Administrator
2024-01-25 371591d64d37a57e2866e6f0729cf7054b8744ba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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;
}