zhangfeng
2022-12-23 f7d2f20365467a834188edd35c464d9fb9349214
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
package com.gkhy.safePlatform.equipment.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.io.Serializable;
import java.time.LocalDateTime;
@TableName("safe_material")
public class SafeMaterialInfo implements Serializable {
 
    private static final long serialVersionUID = -3147326241995464433L;
 
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 物资序列号  (如果以后id使用雪花算法时候再启用该字段)
     */
    private String serialNum;
    /**
     * 物资类型id 大类
     */
    private Long bigClassifyId;
    /**
     * 物资类型 小类
     */
    private Long smallClassifyId;
    /**
     * 部门id
     */
    private Long depId;
    /**
     * 部门名称
     */
    private String depName;
    /**
     * 物资名称
     */
    private String materialName;
    /**
     * 是否是耗材(0是, 1否)
     */
    private Byte consumable;
    /**
     * 有效数量
     */
    private Integer totalCount;
    /**
     * 库存数量
     */
    private Integer stockCount;
    /**
     * 删除标识
     */
    @TableField(fill = FieldFill.INSERT) //自动填充的注解
    private int delFlag;
    /**
     * 创建人id
     */
    @TableField(fill = FieldFill.INSERT) //自动填充的注解
    private Long createUid;
    /**
     * 创建人姓名
     */
    @TableField(fill = FieldFill.INSERT) //自动填充的注解
    private String createUname;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT) //自动填充的注解
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public LocalDateTime createTime;
    /**
     * 修改人id
     */
    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
    private Long updateUid;
    /**
     * 修改人姓名
     */
    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
    private String updateUname;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE) //自动填充的注解
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
 
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getSerialNum() {
        return serialNum;
    }
 
    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }
 
    public Long getBigClassifyId() {
        return bigClassifyId;
    }
 
    public void setBigClassifyId(Long bigClassifyId) {
        this.bigClassifyId = bigClassifyId;
    }
 
    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 String getDepName() {
        return depName;
    }
 
    public void setDepName(String depName) {
        this.depName = depName;
    }
 
    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;
    }
 
    public int getDelFlag() {
        return delFlag;
    }
 
    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }
 
    public Long getCreateUid() {
        return createUid;
    }
 
    public void setCreateUid(Long createUid) {
        this.createUid = createUid;
    }
 
    public String getCreateUname() {
        return createUname;
    }
 
    public void setCreateUname(String createUname) {
        this.createUname = createUname;
    }
 
    public LocalDateTime getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
 
    public Long getUpdateUid() {
        return updateUid;
    }
 
    public void setUpdateUid(Long updateUid) {
        this.updateUid = updateUid;
    }
 
    public String getUpdateUname() {
        return updateUname;
    }
 
    public void setUpdateUname(String updateUname) {
        this.updateUname = updateUname;
    }
 
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
 
    public Integer getTotalCount() {
        return totalCount;
    }
 
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
 
    public Integer getStockCount() {
        return stockCount;
    }
 
    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }
}