ColumnConfigInfo.java
1.18 KB
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
package com.lhcredit.project.tool.gen.domain;
/**
* 字段类型配置 由数据库字段的注释解析而来
* 注释结构示例:{"title": "状态", "type": "dict", "value": "sys_common_status"} {"title": "登录时间", "type": "date"}
*/
public class ColumnConfigInfo {
/**
* 属性标题
*/
private String title;
/**
* 属性类型 dict(字典,value对应字典管理的字典类型), date(包括date)
*/
private String type;
/**
* 属性值,参考数据类型,可为空
*/
private String value;
public ColumnConfigInfo() {
super();
}
public ColumnConfigInfo(String title, String type, String value) {
super();
this.title = title;
this.type = type;
this.value = value;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}