提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.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_type") |
|
17 |
public class RestDictType implements Serializable { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
/** |
|
22 |
* 字典类型id |
|
23 |
*/ |
|
24 |
@TableId(value = "dict_type_id", type = IdType.ID_WORKER) |
|
25 |
private Long dictTypeId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 字典类型编码 |
|
29 |
*/ |
|
30 |
@TableField("code") |
|
31 |
private String code; |
|
32 |
|
|
33 |
/** |
|
34 |
* 字典类型名称 |
|
35 |
*/ |
|
36 |
@TableField("name") |
|
37 |
private String name; |
|
38 |
|
|
39 |
/** |
|
40 |
* 字典描述 |
|
41 |
*/ |
|
42 |
@TableField("description") |
|
43 |
private String description; |
|
44 |
|
|
45 |
/** |
|
46 |
* 是否是系统字典,Y-是,N-否 |
|
47 |
*/ |
|
48 |
@TableField("system_flag") |
|
49 |
private String systemFlag; |
|
50 |
|
|
51 |
/** |
|
52 |
* 状态(字典) |
|
53 |
*/ |
|
54 |
@TableField("status") |
|
55 |
private String status; |
|
56 |
|
|
57 |
/** |
|
58 |
* 排序 |
|
59 |
*/ |
|
60 |
@TableField("sort") |
|
61 |
private Integer sort; |
|
62 |
|
|
63 |
/** |
|
64 |
* 添加时间 |
|
65 |
*/ |
|
66 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
67 |
private Date createTime; |
|
68 |
|
|
69 |
/** |
|
70 |
* 创建人 |
|
71 |
*/ |
|
72 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
73 |
private Long createUser; |
|
74 |
|
|
75 |
/** |
|
76 |
* 修改时间 |
|
77 |
*/ |
|
78 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
79 |
private Date updateTime; |
|
80 |
|
|
81 |
/** |
|
82 |
* 修改人 |
|
83 |
*/ |
|
84 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
85 |
private Long updateUser; |
|
86 |
|
|
87 |
|
|
88 |
public Long getDictTypeId() { |
|
89 |
return dictTypeId; |
|
90 |
} |
|
91 |
|
|
92 |
public void setDictTypeId(Long dictTypeId) { |
|
93 |
this.dictTypeId = dictTypeId; |
|
94 |
} |
|
95 |
|
|
96 |
public String getCode() { |
|
97 |
return code; |
|
98 |
} |
|
99 |
|
|
100 |
public void setCode(String code) { |
|
101 |
this.code = code; |
|
102 |
} |
|
103 |
|
|
104 |
public String getName() { |
|
105 |
return name; |
|
106 |
} |
|
107 |
|
|
108 |
public void setName(String name) { |
|
109 |
this.name = name; |
|
110 |
} |
|
111 |
|
|
112 |
public String getDescription() { |
|
113 |
return description; |
|
114 |
} |
|
115 |
|
|
116 |
public void setDescription(String description) { |
|
117 |
this.description = description; |
|
118 |
} |
|
119 |
|
|
120 |
public String getSystemFlag() { |
|
121 |
return systemFlag; |
|
122 |
} |
|
123 |
|
|
124 |
public void setSystemFlag(String systemFlag) { |
|
125 |
this.systemFlag = systemFlag; |
|
126 |
} |
|
127 |
|
|
128 |
public String getStatus() { |
|
129 |
return status; |
|
130 |
} |
|
131 |
|
|
132 |
public void setStatus(String status) { |
|
133 |
this.status = status; |
|
134 |
} |
|
135 |
|
|
136 |
public Integer getSort() { |
|
137 |
return sort; |
|
138 |
} |
|
139 |
|
|
140 |
public void setSort(Integer sort) { |
|
141 |
this.sort = sort; |
|
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 Long getCreateUser() { |
|
153 |
return createUser; |
|
154 |
} |
|
155 |
|
|
156 |
public void setCreateUser(Long createUser) { |
|
157 |
this.createUser = createUser; |
|
158 |
} |
|
159 |
|
|
160 |
public Date getUpdateTime() { |
|
161 |
return updateTime; |
|
162 |
} |
|
163 |
|
|
164 |
public void setUpdateTime(Date updateTime) { |
|
165 |
this.updateTime = updateTime; |
|
166 |
} |
|
167 |
|
|
168 |
public Long getUpdateUser() { |
|
169 |
return updateUser; |
|
170 |
} |
|
171 |
|
|
172 |
public void setUpdateUser(Long updateUser) { |
|
173 |
this.updateUser = updateUser; |
|
174 |
} |
|
175 |
|
|
176 |
@Override |
|
177 |
public String toString() { |
|
178 |
return "DictType{" + |
|
179 |
"dictTypeId=" + dictTypeId + |
|
180 |
", code=" + code + |
|
181 |
", name=" + name + |
|
182 |
", description=" + description + |
|
183 |
", systemFlag=" + systemFlag + |
|
184 |
", status=" + status + |
|
185 |
", sort=" + sort + |
|
186 |
", createTime=" + createTime + |
|
187 |
", createUser=" + createUser + |
|
188 |
", updateTime=" + updateTime + |
|
189 |
", updateUser=" + updateUser + |
|
190 |
"}"; |
|
191 |
} |
|
192 |
} |