1
2
3
4
5 package gboat2.approveflow.model;
6
7 import javax.persistence.Column;
8 import javax.persistence.Entity;
9 import javax.persistence.GeneratedValue;
10 import javax.persistence.Id;
11 import javax.persistence.Table;
12
13 import org.hibernate.annotations.GenericGenerator;
14
15
16
17
18
19
20
21
22 @Entity
23 @Table(name="G2_T_VERIFY_DETAIL")
24 public class TVerifyDetail {
25
26 private String detailId;
27
28 private String levelId;
29
30 private String nodeName;
31
32 private String detailType;
33
34 private String assigner;
35
36
37
38 public TVerifyDetail() {
39 }
40
41 public TVerifyDetail(String levelId, String nodeName, String detailType,
42 String assigner) {
43 this.levelId = levelId;
44 this.nodeName = nodeName;
45 this.detailType = detailType;
46 this.assigner = assigner;
47 }
48
49 @Id
50 @GenericGenerator(name = "generator", strategy = "uuid.hex")
51 @GeneratedValue(generator = "generator")
52 @Column(name = "DETAIL_ID", length = 40)
53 public String getDetailId() {
54 return detailId;
55 }
56
57 public void setDetailId(String detailId) {
58 this.detailId = detailId;
59 }
60
61 @Column(name = "LEVEL_ID", length = 40)
62 public String getLevelId() {
63 return levelId;
64 }
65
66 public void setLevelId(String levelId) {
67 this.levelId = levelId;
68 }
69
70 @Column(name = "NODE_NAME", length = 100)
71 public String getNodeName() {
72 return nodeName;
73 }
74
75 public void setNodeName(String nodeName) {
76 this.nodeName = nodeName;
77 }
78
79 @Column(name = "DETAIL_TYPE", length = 10)
80 public String getDetailType() {
81 return detailType;
82 }
83
84 public void setDetailType(String detailType) {
85 this.detailType = detailType;
86 }
87
88 @Column(name = "ASSIGNER", length = 40)
89 public String getAssigner() {
90 return assigner;
91 }
92
93 public void setAssigner(String assigner) {
94 this.assigner = assigner;
95 }
96
97 }