View Javadoc
1   package gboat2.approveflow.model;
2   
3   import javax.persistence.Column;
4   import javax.persistence.Entity;
5   import javax.persistence.GeneratedValue;
6   import javax.persistence.Id;
7   import javax.persistence.Table;
8   
9   import org.hibernate.annotations.GenericGenerator;
10  
11  /**
12   * 备案审核级别
13   * @author zhaoxc
14   * 2012-7-6
15   */
16  
17  @Entity
18  @Table(name = "G2_T_VERIFY_LEVEL")
19  public class TVerifyLevel {
20  
21  	/** 备案级别Id */
22  	private String levelId;
23  
24  	/** 流程Id*/
25  	private String processId;
26  
27  	/** 节点名称 */
28  	private String stepName;
29  
30  	/** 审核类型,R按角色审核,P按人员审核,N不审批,B:BPMN审批流程定义 */
31  	private String verifyType;
32  
33  	/** 第一级审核对象*/
34  	private String level1;
35  
36  	/** 第二级审核对象*/
37  	private String level2;
38  
39  	/** 第三级审核对象*/
40  	private String level3;
41  
42  	/** 第四级审核对象*/
43  	private String level4;
44  
45  	/** 第五级审核对象*/
46  	private String level5;
47  
48  	/** 第六级审核对象*/
49  	private String level6;
50  
51  	/** BPMN定义的审批流流程id */
52  	private String approveProcessId;
53  
54  	@Id
55  	@GenericGenerator(name = "generator", strategy = "uuid.hex")
56  	@GeneratedValue(generator = "generator")
57  	@Column(name = "LEVEL_ID", length = 40)
58  	public String getLevelId() {
59  		return levelId;
60  	}
61  
62  	public void setLevelId(String levelId) {
63  		this.levelId = levelId;
64  	}
65  
66  	@Column(name = "PROCESS_ID", length = 200)
67  	public String getProcessId() {
68  		return processId;
69  	}
70  
71  	public void setProcessId(String processId) {
72  		this.processId = processId;
73  	}
74  
75  	@Column(name = "APPROVE_PROCESS_ID", length = 200)
76  	public String getApproveProcessId() {
77  		return approveProcessId;
78  	}
79  
80  	public void setApproveProcessId(String approveProcessId) {
81  		this.approveProcessId = approveProcessId;
82  	}
83  
84  	@Column(name = "STEP_NAME", length = 200)
85  	public String getStepName() {
86  		return stepName;
87  	}
88  
89  	public void setStepName(String stepName) {
90  		this.stepName = stepName;
91  	}
92  
93  	@Column(name = "VERIFY_TYPE", length = 10)
94  	public String getVerifyType() {
95  		return verifyType;
96  	}
97  
98  	public void setVerifyType(String auditType) {
99  		this.verifyType = auditType;
100 	}
101 
102 	@Column(name = "LEVEL_1", length = 100)
103 	public String getLevel1() {
104 		return level1;
105 	}
106 
107 	public void setLevel1(String level1) {
108 		this.level1 = level1;
109 	}
110 
111 	@Column(name = "LEVEL_2", length = 100)
112 	public String getLevel2() {
113 		return level2;
114 	}
115 
116 	public void setLevel2(String level2) {
117 		this.level2 = level2;
118 	}
119 
120 	@Column(name = "LEVEL_3", length = 100)
121 	public String getLevel3() {
122 		return level3;
123 	}
124 
125 	public void setLevel3(String level3) {
126 		this.level3 = level3;
127 	}
128 
129 	@Column(name = "LEVEL_4", length = 100)
130 	public String getLevel4() {
131 		return level4;
132 	}
133 
134 	public void setLevel4(String level4) {
135 		this.level4 = level4;
136 	}
137 
138 	@Column(name = "LEVEL_5", length = 100)
139 	public String getLevel5() {
140 		return level5;
141 	}
142 
143 	public void setLevel5(String level5) {
144 		this.level5 = level5;
145 	}
146 
147 	@Column(name = "LEVEL_6", length = 100)
148 	public String getLevel6() {
149 		return level6;
150 	}
151 
152 	public void setLevel6(String level6) {
153 		this.level6 = level6;
154 	}
155 
156 }