提交 | 用户 | 时间
|
b26949
|
1 |
package cn.stylefeng.guns.modular.gm.greaseManage.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
4 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
5 |
import java.util.Date; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
7 |
import com.baomidou.mybatisplus.annotation.FieldFill; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
9 |
import java.io.Serializable; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p> |
|
13 |
* 油脂管理 |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author ruimin |
|
17 |
* @since 2023-12-11 |
|
18 |
*/ |
|
19 |
@TableName("gm_grease_manage") |
|
20 |
public class GreaseManage implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID=1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 主键id |
|
26 |
*/ |
|
27 |
@TableId(value = "id", type = IdType.ID_WORKER) |
|
28 |
private Long id; |
|
29 |
|
|
30 |
/** |
|
31 |
* 扫码条码 |
|
32 |
*/ |
|
33 |
@TableField("barcode") |
|
34 |
private String barcode; |
|
35 |
|
|
36 |
/** |
|
37 |
* 工位 |
|
38 |
*/ |
|
39 |
@TableField("location_code") |
|
40 |
private String locationCode; |
|
41 |
|
|
42 |
/** |
|
43 |
* 到期时间 |
|
44 |
*/ |
|
45 |
@TableField("dua_date") |
|
46 |
private String duaDate; |
|
47 |
|
|
48 |
/** |
|
49 |
* 状态 |
|
50 |
*/ |
|
51 |
@TableField("state") |
|
52 |
private String state; |
|
53 |
@TableField(exist = false) |
|
54 |
private String daysRemaining; |
|
55 |
|
|
56 |
|
|
57 |
/** |
|
58 |
* 更新用户 |
|
59 |
*/ |
|
60 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
61 |
private String createUser; |
|
62 |
|
|
63 |
/** |
|
64 |
* 更新时间 |
|
65 |
*/ |
|
66 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
67 |
private Date createTime; |
|
68 |
|
|
69 |
/** |
|
70 |
* 备注 |
|
71 |
*/ |
|
72 |
@TableField("remarks") |
|
73 |
private String remarks; |
|
74 |
|
|
75 |
/** |
|
76 |
* 预留字段1 |
|
77 |
*/ |
|
78 |
@TableField("spare_field_1") |
|
79 |
private String spareField1; |
|
80 |
|
|
81 |
/** |
|
82 |
* 预留字段2 |
|
83 |
*/ |
|
84 |
@TableField("spare_field_2") |
|
85 |
private String spareField2; |
|
86 |
|
|
87 |
|
|
88 |
public String getDaysRemaining() { |
|
89 |
return daysRemaining; |
|
90 |
} |
|
91 |
|
|
92 |
public void setDaysRemaining(String daysRemaining) { |
|
93 |
this.daysRemaining = daysRemaining; |
|
94 |
} |
|
95 |
|
|
96 |
public Long getId() { |
|
97 |
return id; |
|
98 |
} |
|
99 |
|
|
100 |
public void setId(Long id) { |
|
101 |
this.id = id; |
|
102 |
} |
|
103 |
|
|
104 |
public String getBarcode() { |
|
105 |
return barcode; |
|
106 |
} |
|
107 |
|
|
108 |
public void setBarcode(String barcode) { |
|
109 |
this.barcode = barcode; |
|
110 |
} |
|
111 |
|
|
112 |
public String getLocationCode() { |
|
113 |
return locationCode; |
|
114 |
} |
|
115 |
|
|
116 |
public void setLocationCode(String locationCode) { |
|
117 |
this.locationCode = locationCode; |
|
118 |
} |
|
119 |
|
|
120 |
public String getDuaDate() { |
|
121 |
return duaDate; |
|
122 |
} |
|
123 |
|
|
124 |
public void setDuaDate(String duaDate) { |
|
125 |
this.duaDate = duaDate; |
|
126 |
} |
|
127 |
|
|
128 |
public String getState() { |
|
129 |
return state; |
|
130 |
} |
|
131 |
|
|
132 |
public void setState(String state) { |
|
133 |
this.state = state; |
|
134 |
} |
|
135 |
|
|
136 |
public String getCreateUser() { |
|
137 |
return createUser; |
|
138 |
} |
|
139 |
|
|
140 |
public void setCreateUser(String createUser) { |
|
141 |
this.createUser = createUser; |
|
142 |
} |
|
143 |
|
|
144 |
public Date getCreateTime() { |
|
145 |
return createTime; |
|
146 |
} |
|
147 |
|
|
148 |
public void setCreateTime(Date createTime) { |
|
149 |
this.createTime = createTime; |
|
150 |
} |
|
151 |
|
|
152 |
public String getRemarks() { |
|
153 |
return remarks; |
|
154 |
} |
|
155 |
|
|
156 |
public void setRemarks(String remarks) { |
|
157 |
this.remarks = remarks; |
|
158 |
} |
|
159 |
|
|
160 |
public String getSpareField1() { |
|
161 |
return spareField1; |
|
162 |
} |
|
163 |
|
|
164 |
public void setSpareField1(String spareField1) { |
|
165 |
this.spareField1 = spareField1; |
|
166 |
} |
|
167 |
|
|
168 |
public String getSpareField2() { |
|
169 |
return spareField2; |
|
170 |
} |
|
171 |
|
|
172 |
public void setSpareField2(String spareField2) { |
|
173 |
this.spareField2 = spareField2; |
|
174 |
} |
|
175 |
|
|
176 |
@Override |
|
177 |
public String toString() { |
|
178 |
return "GreaseManage{" + |
|
179 |
"id=" + id + |
|
180 |
", barcode=" + barcode + |
|
181 |
", locationCode=" + locationCode + |
|
182 |
", duaDate=" + duaDate + |
|
183 |
", state=" + state + |
|
184 |
", createUser=" + createUser + |
|
185 |
", createTime=" + createTime + |
|
186 |
", remarks=" + remarks + |
|
187 |
", spareField1=" + spareField1 + |
|
188 |
", spareField2=" + spareField2 + |
|
189 |
"}"; |
|
190 |
} |
|
191 |
} |