eight
2024-12-18 289ecba11e7ebbb9a3d7aa884481978f760a97a4
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
55
56
57
58
59
60
package cn.lihu.jh.module.ecg.controller.admin.devmanage.vo;
 
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
 
import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;
import java.util.*;
 
@Schema(description = "管理后台 - 设备新增/修改 Request VO")
@Data
public class DeviceSaveReqVO {
 
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15567")
    private Integer id;
 
    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317")
    //@NotEmpty(message = "设备编号不能为空")
    private String devId;
 
    @Schema(description = "设备固有编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317")
    @NotEmpty(message = "设备固有编号不能为空")
    private String devCodeIntrinsic;
 
    @Schema(description = "设备医院编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317")
    @NotEmpty(message = "设备医院编号不能为空")
    private String devCodeHosp;
 
    @Schema(description = "设备科室编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317")
    @NotEmpty(message = "设备科室编号不能为空")
    private String devCodeDept;
 
    @Schema(description = "分类名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "分类名不能为空")
    private String category;
 
    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "品牌不能为空")
    private String brand;
 
    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "型号不能为空")
    private String model;
 
    @Schema(description = "采购日期")
    private LocalDate purchaseDate;
 
    @Schema(description = "状态日期")
    private LocalDate stateDate;
 
    /**
     * 0 - 空闲 10 - 使用中 20 - 已遗失
     */
    @Schema(description = "状态")
    private Integer state;
 
    @Schema(description = "备注")
    private String comment;
}