BpmApprovalItem.java
3.74 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
package com.hotent.bpmModel.model;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hotent.base.entity.AutoFillModel;
import com.hotent.base.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
/**
* 描述:常用语管理 实体对象
*
* @company 广州宏天软件有限公司
* @author wanghb
* @email wanghb@jee-soft.cn
* @date 2018年6月28日
*/
@ApiModel(description = "常用语管理 实体对象")
@TableName("bpm_approval_item")
public class BpmApprovalItem extends AutoFillModel<BpmApprovalItem> {
private static final long serialVersionUID = -6586617649414953005L;
// 全局
public final static Short TYPE_GLOBAL = 1;
// 对于流程分类
public final static Short TYPE_FLOWTYPE = 2;
// 对于流程
public final static Short TYPE_FLOW = 3;
// 对于个人的常用语
public final static Short TYPE_USER = 4;
@ApiModelProperty(name = "id", notes = "主键")
@TableId("id_")
protected String id;
@ApiModelProperty(name = "userId", notes = "用户ID")
@TableField("user_id_")
protected String userId;
@ApiModelProperty(name = "defKey", notes = "流程定义KEY")
@TableField("def_key_")
protected String defKey;
@ApiModelProperty(name = "defName", notes = "流程定义Name")
@TableField("def_name_")
protected String defName;
@ApiModelProperty(name = "typeId", notes = "流程分类ID")
@TableField("type_id_")
protected String typeId;
@ApiModelProperty(name = "type", notes = "常用语类型")
@TableField("type_")
protected Short type;
@ApiModelProperty(name = "expression", notes = "常用语")
@TableField("expression_")
protected String expression;
@ApiModelProperty(value = "更新时间")
@TableField(value="UPDATE_TIME_", fill= FieldFill.INSERT_UPDATE)
private LocalDateTime updateTime;
@Override
public LocalDateTime getUpdateTime() {
return updateTime;
}
@Override
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
public void setId(String id) {
this.id = id;
}
/**
* 返回 ID
*
* @return
*/
public String getId() {
return this.id;
}
public void setUserId(String userId) {
this.userId = userId;
}
/**
* 返回 用户ID
*
* @return
*/
public String getUserId() {
return this.userId;
}
public void setDefKey(String defKey) {
this.defKey = defKey;
}
/**
* 返回 流程定义KEY
*
* @return
*/
public String getDefKey() {
return this.defKey;
}
public void setDefName(String defName) {
this.defName = defName;
}
/**
* 返回 流程定义KEY
*
* @return
*/
public String getDefName() {
return this.defName;
}
public void setTypeId(String typeId) {
this.typeId = typeId;
}
/**
* 返回 流程分类ID
*
* @return
*/
public String getTypeId() {
return this.typeId;
}
public void setType(Short type) {
this.type = type;
}
/**
* 返回 常用语类型
*
* @return
*/
public Short getType() {
return this.type;
}
public void setExpression(String expression) {
this.expression = expression;
}
/**
* 返回 流程项名项
*
* @return
*/
public String getExpression() {
return this.expression;
}
/**
* @see java.lang.Object#toString()
*/
public String toString() {
return new ToStringBuilder(this).append("id", this.id).append("userId", this.userId)
.append("defKey", this.defKey).append("typeId", this.typeId).append("type", this.type)
.append("expression", this.expression).toString();
}
}