zhangfeng
2022-11-08 f241a39f07acc5d5ede28b4152d74cbb84e4885b
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
61
62
63
64
65
66
67
68
69
package com.gkhy.safePlatform.equipment.model.dto.req;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
public class SafeMaterialModReq {
    @NotNull(message = "主键不可为空!")
    private Long id;
    /**
     * 物资类型id
     */
    @NotNull(message = "物资类型不可为空!")
    private Long materialClassifyId;
    /**
     * 部门id
     */
    @NotNull(message = "所属部门不可为空!")
    private Long depId;
    /**
     * 物资名称
     */
    @NotBlank(message = "安全物资名称不可为空!")
    private String materialName;
    /**
     * 是否是耗材(0是, 1否)
     */
    @NotNull(message = "是否是耗材不可为空!")
    private Byte consumable;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getMaterialClassifyId() {
        return materialClassifyId;
    }
 
    public void setMaterialClassifyId(Long materialClassifyId) {
        this.materialClassifyId = materialClassifyId;
    }
 
    public Long getDepId() {
        return depId;
    }
 
    public void setDepId(Long depId) {
        this.depId = depId;
    }
 
    public String getMaterialName() {
        return materialName;
    }
 
    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }
 
    public Byte getConsumable() {
        return consumable;
    }
 
    public void setConsumable(Byte consumable) {
        this.consumable = consumable;
    }
}