BpmOftenFlowUser.java
2.76 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
package com.hotent.bpmModel.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hotent.base.entity.BaseModel;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
*
* 通用流程授权对象表
* @company 广州宏天软件股份有限公司
* @author 超级管理员
* @since 2020-11-04
*/
@ApiModel("通用流程授权对象表")
@TableName("bpm_often_flow_user")
public class BpmOftenFlowUser extends BaseModel<BpmOftenFlowUser> {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键ID")
@TableId(value = "ID_", type = IdType.ASSIGN_ID)
private String id;
@ApiModelProperty(value = "常用流程表主键ID")
@TableField("OFTEN_FLOW_ID_")
private String oftenFlowId;
@ApiModelProperty(value = "授权对象ID")
@TableField("OWNER_ID_")
private String ownerId;
@ApiModelProperty(value = "授权对象名称")
@TableField("OWNER_NAME_")
private String ownerName;
@ApiModelProperty(value = "授权对象类型(角色,用户,岗位等)")
@TableField("RIGHT_TYPE_")
private String rightType;
@ApiModelProperty(value = "租户ID")
@TableField("TENANT_ID_")
private String tenantId;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOftenFlowId() {
return oftenFlowId;
}
public void setOftenFlowId(String oftenFlowId) {
this.oftenFlowId = oftenFlowId;
}
public String getOwnerId() {
return ownerId;
}
public void setOwnerId(String ownerId) {
this.ownerId = ownerId;
}
public String getOwnerName() {
return ownerName;
}
public void setOwnerName(String ownerName) {
this.ownerName = ownerName;
}
public String getRightType() {
return rightType;
}
public void setRightType(String rightType) {
this.rightType = rightType;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "BpmOftenFlowUser{" +
"id=" + id +
", oftenFlowId=" + oftenFlowId +
", ownerId=" + ownerId +
", ownerName=" + ownerName +
", rightType=" + rightType +
", tenantId=" + tenantId +
"}";
}
}