BpmOftenFlow.java
2.97 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
package com.hotent.bpmModel.model;
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.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 通用流程
* <pre>
* 描述:通用流程 实体对象
* 构建组:x7
* 作者:liyg
* 邮箱:liygui@jee-soft.cn
* 日期:2019-03-04 15:23:03
* 版权:广州宏天软件有限公司
* </pre>
*/
@ApiModel("常用流程")
@TableName("bpm_often_flow")
public class BpmOftenFlow extends BaseModel<BpmOftenFlow>{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value="通用流程ID")
@TableId("id_")
protected String id;
@ApiModelProperty(value="流程名称")
@TableField(exist=false)
protected String name;
@ApiModelProperty(value="流程定义KEY")
@TableField("def_key_")
protected String defKey;
@ApiModelProperty(value="所属人id。-1为所有人都有权限")
@TableField("user_id_")
protected String userId;
@ApiModelProperty(value="所属人名称")
@TableField("user_name_")
protected String userName;
@ApiModelProperty(value="排序号")
@TableField("order_")
protected Integer order;
//所属人类型
@TableField(exist=false)
@ApiModelProperty(name="rightType",notes="所属人类型")
protected String rightType;
public String getRightType() {
return rightType;
}
public void setRightType(String rightType) {
this.rightType = rightType;
}
public BpmOftenFlow(){};
public BpmOftenFlow(String userId, String userName, String defKey,int order) {
this.userId = userId;
this.userName = userName;
this.defKey = defKey;
this.order = order;
}
public void setId(String id) {
this.id = id;
}
/**
* 返回 流程定义ID
* @return
*/
public String getId() {
return this.id;
}
public void setName(String name) {
this.name = name;
}
/**
* 返回 流程名称
* @return
*/
public String getName() {
return this.name;
}
public void setDefKey(String defId) {
this.defKey = defId;
}
/**
* 返回 流程定义KEY
* @return
*/
public String getDefKey() {
return this.defKey;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
/**
* 返回 所属人id。-1为所有人都有权限
* @return
*/
public String getUserId() {
return this.userId;
}
public Integer getOrder() {
return order;
}
public void setOrder(Integer order) {
this.order = order;
}
/**
* @see java.lang.Object#toString()
*/
public String toString() {
return new ToStringBuilder(this)
.append("id", this.id)
.append("name", this.name)
.append("defId", this.defKey)
.append("userId", this.userId)
.toString();
}
}