GenScheme.java
2.66 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.modules.gen.entity;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.persistence.DataEntity;
/**
* 生成方案Entity
* @author ThinkGem
* @version 2013-10-15
*/
public class GenScheme extends DataEntity<GenScheme> {
private static final long serialVersionUID = 1L;
private String name; // 名称
private String category; // 分类
private String packageName; // 生成包路径
private String moduleName; // 生成模块名
private String subModuleName; // 生成子模块名
private String functionName; // 生成功能名
private String functionNameSimple; // 生成功能名(简写)
private String functionAuthor; // 生成功能作者
private GenTable genTable; // 业务表名
private String flag; // 0:保存方案; 1:保存方案并生成代码
private Boolean replaceFile; // 是否替换现有文件 0:不替换;1:替换文件
public GenScheme() {
super();
}
public GenScheme(String id){
super(id);
}
@Length(min=1, max=200)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPackageName() {
return packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
public String getModuleName() {
return moduleName;
}
public void setModuleName(String moduleName) {
this.moduleName = moduleName;
}
public String getSubModuleName() {
return subModuleName;
}
public void setSubModuleName(String subModuleName) {
this.subModuleName = subModuleName;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public String getFunctionName() {
return functionName;
}
public void setFunctionName(String functionName) {
this.functionName = functionName;
}
public String getFunctionNameSimple() {
return functionNameSimple;
}
public void setFunctionNameSimple(String functionNameSimple) {
this.functionNameSimple = functionNameSimple;
}
public String getFunctionAuthor() {
return functionAuthor;
}
public void setFunctionAuthor(String functionAuthor) {
this.functionAuthor = functionAuthor;
}
public GenTable getGenTable() {
return genTable;
}
public void setGenTable(GenTable genTable) {
this.genTable = genTable;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public Boolean getReplaceFile() {
return replaceFile;
}
public void setReplaceFile(Boolean replaceFile) {
this.replaceFile = replaceFile;
}
}