BpmDeputy.java
3.25 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
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;
/**
* 流程代理
*
* @company 广州宏天软件股份有限公司
* @author heyifan
* @email heyf@jee-soft.cn
* @date 2020年4月15日
*/
@ApiModel("流程代理")
@TableName("bpm_deputy")
public class BpmDeputy extends BaseModel<BpmDeputy> {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value="主键ID")
@TableId("id_")
protected String id;
@ApiModelProperty(value="被代理人id")
@TableField("user_id_")
protected String userId;
@ApiModelProperty(value="被代理人姓名")
@TableField("user_name_")
protected String userName;
@ApiModelProperty(value="代理人id")
@TableField("agent_id_")
protected String agentId;
@ApiModelProperty(value="代理人姓名")
@TableField("agent_name_")
protected String agentName;
@ApiModelProperty(value="是否接收邮件(1:接收,0:不接收)")
@TableField("is_mail_")
protected Integer isMail;
@ApiModelProperty(value="是否可用(1:启用,0:禁用)")
@TableField("is_usable_")
protected Integer isUsable;
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 setUserName(String userName) {
this.userName = userName;
}
/**
* 返回 被代理人姓名
* @return
*/
public String getUserName() {
return this.userName;
}
public void setAgentId(String agentId) {
this.agentId = agentId;
}
/**
* 返回 代理人id
* @return
*/
public String getAgentId() {
return this.agentId;
}
public void setAgentName(String agentName) {
this.agentName = agentName;
}
/**
* 返回 代理人姓名
* @return
*/
public String getAgentName() {
return this.agentName;
}
public void setIsMail(Integer isMail) {
this.isMail = isMail;
}
/**
* 返回 是否接收邮件(1:接收,0:不接收)
* @return
*/
public Integer getIsMail() {
return this.isMail;
}
public void setIsUsable(Integer isUsable) {
this.isUsable = isUsable;
}
/**
* 返回 是否可用(1:启用,0:禁用)
* @return
*/
public Integer getIsUsable() {
return this.isUsable;
}
/**
* @see Object#toString()
*/
public String toString() {
return new ToStringBuilder(this)
.append("id", this.id)
.append("userId", this.userId)
.append("userName", this.userName)
.append("agentId", this.agentId)
.append("agentName", this.agentName)
.append("isMail", this.isMail)
.append("isUsable", this.isUsable)
.toString();
}
}