提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.sys.codingRule.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-08-23 |
|
18 |
*/ |
|
19 |
@TableName("sys_coding_rule") |
|
20 |
public class CodingRule 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("coding_rule_code") |
|
34 |
private String codingRuleCode; |
|
35 |
|
|
36 |
/** |
|
37 |
* 编码规则描述 |
|
38 |
*/ |
|
39 |
@TableField("coding_rule_desc") |
|
40 |
private String codingRuleDesc; |
|
41 |
|
|
42 |
/** |
|
43 |
* 编码规则前缀 |
|
44 |
*/ |
|
45 |
@TableField("coding_rule_prefix") |
|
46 |
private String codingRulePrefix; |
|
47 |
|
|
48 |
/** |
|
49 |
* 启用日期(0否,1是) |
|
50 |
*/ |
|
51 |
@TableField("enable_date") |
|
52 |
private String enableDate; |
|
53 |
|
|
54 |
/** |
|
55 |
* 日期格式类型 |
|
56 |
*/ |
|
57 |
@TableField("date_type") |
|
58 |
private String dateType; |
|
59 |
|
|
60 |
/** |
|
61 |
* 当前编号 |
|
62 |
*/ |
|
63 |
@TableField("current_code") |
|
64 |
private String currentCode; |
|
65 |
|
|
66 |
/** |
|
67 |
* 编号长度 |
|
68 |
*/ |
|
69 |
@TableField("code_length") |
|
70 |
private Integer codeLength; |
|
71 |
|
|
72 |
/** |
|
73 |
* 预留字段1 |
|
74 |
*/ |
|
75 |
@TableField("spare_field_1") |
|
76 |
private String spareField1; |
|
77 |
|
|
78 |
/** |
|
79 |
* 预留字段2 |
|
80 |
*/ |
|
81 |
@TableField("spare_field_2") |
|
82 |
private String spareField2; |
|
83 |
|
|
84 |
/** |
|
85 |
* 备注 |
|
86 |
*/ |
|
87 |
@TableField("remark") |
|
88 |
private String remark; |
|
89 |
|
|
90 |
/** |
|
91 |
* 创建用户 |
|
92 |
*/ |
|
93 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
94 |
private String createUser; |
|
95 |
|
|
96 |
/** |
|
97 |
* 创建时间 |
|
98 |
*/ |
|
99 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
100 |
private Date createTime; |
|
101 |
|
|
102 |
/** |
|
103 |
* 更改用户 |
|
104 |
*/ |
|
105 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
106 |
private String updateUser; |
|
107 |
|
|
108 |
/** |
|
109 |
* 更改时间 |
|
110 |
*/ |
|
111 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
112 |
private Date updateTime; |
|
113 |
|
|
114 |
|
|
115 |
public Long getId() { |
|
116 |
return id; |
|
117 |
} |
|
118 |
|
|
119 |
public void setId(Long id) { |
|
120 |
this.id = id; |
|
121 |
} |
|
122 |
|
|
123 |
public String getCodingRuleCode() { |
|
124 |
return codingRuleCode; |
|
125 |
} |
|
126 |
|
|
127 |
public void setCodingRuleCode(String codingRuleCode) { |
|
128 |
this.codingRuleCode = codingRuleCode; |
|
129 |
} |
|
130 |
|
|
131 |
public String getCodingRuleDesc() { |
|
132 |
return codingRuleDesc; |
|
133 |
} |
|
134 |
|
|
135 |
public void setCodingRuleDesc(String codingRuleDesc) { |
|
136 |
this.codingRuleDesc = codingRuleDesc; |
|
137 |
} |
|
138 |
|
|
139 |
public String getCodingRulePrefix() { |
|
140 |
return codingRulePrefix; |
|
141 |
} |
|
142 |
|
|
143 |
public void setCodingRulePrefix(String codingRulePrefix) { |
|
144 |
this.codingRulePrefix = codingRulePrefix; |
|
145 |
} |
|
146 |
|
|
147 |
public String getEnableDate() { |
|
148 |
return enableDate; |
|
149 |
} |
|
150 |
|
|
151 |
public void setEnableDate(String enableDate) { |
|
152 |
this.enableDate = enableDate; |
|
153 |
} |
|
154 |
|
|
155 |
public String getDateType() { |
|
156 |
return dateType; |
|
157 |
} |
|
158 |
|
|
159 |
public void setDateType(String dateType) { |
|
160 |
this.dateType = dateType; |
|
161 |
} |
|
162 |
|
|
163 |
public String getCurrentCode() { |
|
164 |
return currentCode; |
|
165 |
} |
|
166 |
|
|
167 |
public void setCurrentCode(String currentCode) { |
|
168 |
this.currentCode = currentCode; |
|
169 |
} |
|
170 |
|
|
171 |
public Integer getCodeLength() { |
|
172 |
return codeLength; |
|
173 |
} |
|
174 |
|
|
175 |
public void setCodeLength(Integer codeLength) { |
|
176 |
this.codeLength = codeLength; |
|
177 |
} |
|
178 |
|
|
179 |
public String getSpareField1() { |
|
180 |
return spareField1; |
|
181 |
} |
|
182 |
|
|
183 |
public void setSpareField1(String spareField1) { |
|
184 |
this.spareField1 = spareField1; |
|
185 |
} |
|
186 |
|
|
187 |
public String getSpareField2() { |
|
188 |
return spareField2; |
|
189 |
} |
|
190 |
|
|
191 |
public void setSpareField2(String spareField2) { |
|
192 |
this.spareField2 = spareField2; |
|
193 |
} |
|
194 |
|
|
195 |
public String getRemark() { |
|
196 |
return remark; |
|
197 |
} |
|
198 |
|
|
199 |
public void setRemark(String remark) { |
|
200 |
this.remark = remark; |
|
201 |
} |
|
202 |
|
|
203 |
public String getCreateUser() { |
|
204 |
return createUser; |
|
205 |
} |
|
206 |
|
|
207 |
public void setCreateUser(String createUser) { |
|
208 |
this.createUser = createUser; |
|
209 |
} |
|
210 |
|
|
211 |
public Date getCreateTime() { |
|
212 |
return createTime; |
|
213 |
} |
|
214 |
|
|
215 |
public void setCreateTime(Date createTime) { |
|
216 |
this.createTime = createTime; |
|
217 |
} |
|
218 |
|
|
219 |
public String getUpdateUser() { |
|
220 |
return updateUser; |
|
221 |
} |
|
222 |
|
|
223 |
public void setUpdateUser(String updateUser) { |
|
224 |
this.updateUser = updateUser; |
|
225 |
} |
|
226 |
|
|
227 |
public Date getUpdateTime() { |
|
228 |
return updateTime; |
|
229 |
} |
|
230 |
|
|
231 |
public void setUpdateTime(Date updateTime) { |
|
232 |
this.updateTime = updateTime; |
|
233 |
} |
|
234 |
|
|
235 |
@Override |
|
236 |
public String toString() { |
|
237 |
return "CodingRule{" + |
|
238 |
"id=" + id + |
|
239 |
", codingRuleCode=" + codingRuleCode + |
|
240 |
", codingRuleDesc=" + codingRuleDesc + |
|
241 |
", codingRulePrefix=" + codingRulePrefix + |
|
242 |
", enableDate=" + enableDate + |
|
243 |
", dateType=" + dateType + |
|
244 |
", currentCode=" + currentCode + |
|
245 |
", codeLength=" + codeLength + |
|
246 |
", spareField1=" + spareField1 + |
|
247 |
", spareField2=" + spareField2 + |
|
248 |
", remark=" + remark + |
|
249 |
", createUser=" + createUser + |
|
250 |
", createTime=" + createTime + |
|
251 |
", updateUser=" + updateUser + |
|
252 |
", updateTime=" + updateTime + |
|
253 |
"}"; |
|
254 |
} |
|
255 |
} |