提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.system.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.*; |
|
4 |
|
|
5 |
import java.io.Serializable; |
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 基础字典 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-04-01 |
|
15 |
*/ |
|
16 |
@TableName("sys_dict") |
|
17 |
public class Dict implements Serializable { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
/** |
|
22 |
* 字典id |
|
23 |
*/ |
|
24 |
@TableId(value = "dict_id", type = IdType.ID_WORKER) |
|
25 |
private Long dictId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 所属字典类型的id |
|
29 |
*/ |
|
30 |
@TableField("dict_type_id") |
|
31 |
private Long dictTypeId; |
|
32 |
|
|
33 |
/** |
|
34 |
* 字典编码 |
|
35 |
*/ |
|
36 |
@TableField("code") |
|
37 |
private String code; |
|
38 |
|
|
39 |
/** |
|
40 |
* 字典名称 |
|
41 |
*/ |
|
42 |
@TableField("name") |
|
43 |
private String name; |
|
44 |
|
|
45 |
/** |
|
46 |
* 上级代码id |
|
47 |
*/ |
|
48 |
@TableField("parent_id") |
|
49 |
private Long parentId; |
|
50 |
|
|
51 |
/** |
|
52 |
* 所有上级id |
|
53 |
*/ |
|
54 |
@TableField("parent_ids") |
|
55 |
private String parentIds; |
|
56 |
|
|
57 |
/** |
|
58 |
* 状态(字典) |
|
59 |
*/ |
|
60 |
@TableField("status") |
|
61 |
private String status; |
|
62 |
|
|
63 |
/** |
|
64 |
* 排序 |
|
65 |
*/ |
|
66 |
@TableField("sort") |
|
67 |
private Integer sort; |
|
68 |
|
|
69 |
/** |
|
70 |
* 字典的描述 |
|
71 |
*/ |
|
72 |
@TableField("description") |
|
73 |
private String description; |
|
74 |
|
|
75 |
/** |
|
76 |
* 创建时间 |
|
77 |
*/ |
|
78 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
79 |
private Date createTime; |
|
80 |
|
|
81 |
/** |
|
82 |
* 更新时间 |
|
83 |
*/ |
|
84 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
85 |
private Date updateTime; |
|
86 |
|
|
87 |
/** |
|
88 |
* 创建人 |
|
89 |
*/ |
|
90 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
91 |
private Long createUser; |
|
92 |
|
|
93 |
/** |
|
94 |
* 修改人 |
|
95 |
*/ |
|
96 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
97 |
private Long updateUser; |
|
98 |
|
|
99 |
|
|
100 |
public Long getDictId() { |
|
101 |
return dictId; |
|
102 |
} |
|
103 |
|
|
104 |
public void setDictId(Long dictId) { |
|
105 |
this.dictId = dictId; |
|
106 |
} |
|
107 |
|
|
108 |
public Long getDictTypeId() { |
|
109 |
return dictTypeId; |
|
110 |
} |
|
111 |
|
|
112 |
public void setDictTypeId(Long dictTypeId) { |
|
113 |
this.dictTypeId = dictTypeId; |
|
114 |
} |
|
115 |
|
|
116 |
public String getCode() { |
|
117 |
return code; |
|
118 |
} |
|
119 |
|
|
120 |
public void setCode(String code) { |
|
121 |
this.code = code; |
|
122 |
} |
|
123 |
|
|
124 |
public String getName() { |
|
125 |
return name; |
|
126 |
} |
|
127 |
|
|
128 |
public void setName(String name) { |
|
129 |
this.name = name; |
|
130 |
} |
|
131 |
|
|
132 |
public Long getParentId() { |
|
133 |
return parentId; |
|
134 |
} |
|
135 |
|
|
136 |
public void setParentId(Long parentId) { |
|
137 |
this.parentId = parentId; |
|
138 |
} |
|
139 |
|
|
140 |
public String getParentIds() { |
|
141 |
return parentIds; |
|
142 |
} |
|
143 |
|
|
144 |
public void setParentIds(String parentIds) { |
|
145 |
this.parentIds = parentIds; |
|
146 |
} |
|
147 |
|
|
148 |
public String getStatus() { |
|
149 |
return status; |
|
150 |
} |
|
151 |
|
|
152 |
public void setStatus(String status) { |
|
153 |
this.status = status; |
|
154 |
} |
|
155 |
|
|
156 |
public Integer getSort() { |
|
157 |
return sort; |
|
158 |
} |
|
159 |
|
|
160 |
public void setSort(Integer sort) { |
|
161 |
this.sort = sort; |
|
162 |
} |
|
163 |
|
|
164 |
public String getDescription() { |
|
165 |
return description; |
|
166 |
} |
|
167 |
|
|
168 |
public void setDescription(String description) { |
|
169 |
this.description = description; |
|
170 |
} |
|
171 |
|
|
172 |
public Date getCreateTime() { |
|
173 |
return createTime; |
|
174 |
} |
|
175 |
|
|
176 |
public void setCreateTime(Date createTime) { |
|
177 |
this.createTime = createTime; |
|
178 |
} |
|
179 |
|
|
180 |
public Date getUpdateTime() { |
|
181 |
return updateTime; |
|
182 |
} |
|
183 |
|
|
184 |
public void setUpdateTime(Date updateTime) { |
|
185 |
this.updateTime = updateTime; |
|
186 |
} |
|
187 |
|
|
188 |
public Long getCreateUser() { |
|
189 |
return createUser; |
|
190 |
} |
|
191 |
|
|
192 |
public void setCreateUser(Long createUser) { |
|
193 |
this.createUser = createUser; |
|
194 |
} |
|
195 |
|
|
196 |
public Long getUpdateUser() { |
|
197 |
return updateUser; |
|
198 |
} |
|
199 |
|
|
200 |
public void setUpdateUser(Long updateUser) { |
|
201 |
this.updateUser = updateUser; |
|
202 |
} |
|
203 |
|
|
204 |
@Override |
|
205 |
public String toString() { |
|
206 |
return "Dict{" + |
|
207 |
"dictId=" + dictId + |
|
208 |
", dictTypeId=" + dictTypeId + |
|
209 |
", code=" + code + |
|
210 |
", name=" + name + |
|
211 |
", parentId=" + parentId + |
|
212 |
", parentIds=" + parentIds + |
|
213 |
", status=" + status + |
|
214 |
", sort=" + sort + |
|
215 |
", description=" + description + |
|
216 |
", createTime=" + createTime + |
|
217 |
", updateTime=" + updateTime + |
|
218 |
", createUser=" + createUser + |
|
219 |
", updateUser=" + updateUser + |
|
220 |
"}"; |
|
221 |
} |
|
222 |
} |