hsy
4 天以前 bb0b80bd7ca7c1f979ab0125ae01f3faa1d14f4b
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
package cn.iocoder.yudao.module.mes.controller.admin.dv.meteringcheck.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDate;
 
@Schema(description = "管理后台 - MES 计量检测记录新增/修改 Request VO")
@Data
public class MesDvMeteringCheckSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "计量器具编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "计量器具不能为空")
    private Long meteringId;
 
    @Schema(description = "检测编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "CK-001")
    @NotEmpty(message = "检测编号不能为空")
    private String checkCode;
 
    @Schema(description = "检测日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "检测日期不能为空")
    private LocalDate checkDate;
 
    @Schema(description = "检测机构", example = "市计量院")
    private String checkOrg;
 
    @Schema(description = "检测结论", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "检测结论不能为空")
    private Integer checkResult;
 
    @Schema(description = "证书编号", example = "CN-2026-001")
    private String certNo;
 
    @Schema(description = "检测人编号", example = "200")
    private Long checkUserId;
 
    @Schema(description = "下次检测日期(为空则按 检测日期 + 校准周期 自动计算)")
    private LocalDate nextCheckDate;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}