zhangfeng
2022-11-21 99968f83982943669af3829ea6bc3bbe745cada4
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
package com.gkhy.safePlatform.equipment.model.dto.req;
 
import org.springframework.validation.annotation.Validated;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
public class SafeMaterialAddReq {
    /**
     * 物资类型id
     */
    @NotNull(message = "物资类型(小类)不可为空!")
    private Long smallClassifyId;
    /**
     * 大类id
     */
    @NotNull(message = "物资类型(大类)不可为空!")
    private Long bigClassifyId;
    /**
     * 部门id
     */
    @NotNull(message = "所属部门不可为空!")
    private Long depId;
 
    /**
     * 是否是耗材(0是, 1否)
     */
    @NotNull(message = "是否是耗材不可为空!")
    private Byte consumable;
 
    public Long getSmallClassifyId() {
        return smallClassifyId;
    }
 
    public void setSmallClassifyId(Long smallClassifyId) {
        this.smallClassifyId = smallClassifyId;
    }
 
    public Long getDepId() {
        return depId;
    }
 
    public void setDepId(Long depId) {
        this.depId = depId;
    }
 
    public Byte getConsumable() {
        return consumable;
    }
 
    public void setConsumable(Byte consumable) {
        this.consumable = consumable;
    }
 
    public Long getBigClassifyId() {
        return bigClassifyId;
    }
 
    public void setBigClassifyId(Long bigClassifyId) {
        this.bigClassifyId = bigClassifyId;
    }
}