|
@@ -38,6 +38,16 @@ public class SysPost extends BaseEntity
|
38
|
38
|
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
39
|
39
|
private String status;
|
40
|
40
|
|
|
41
|
+ /**
|
|
42
|
+ * 部门id
|
|
43
|
+ */
|
|
44
|
+ private Long deptId;
|
|
45
|
+
|
|
46
|
+ /**
|
|
47
|
+ * 级别:0-不设置;1-经理;
|
|
48
|
+ */
|
|
49
|
+ private Integer postLevel;
|
|
50
|
+
|
41
|
51
|
/** 用户是否存在此岗位标识 默认不存在 */
|
42
|
52
|
private boolean flag = false;
|
43
|
53
|
|
|
@@ -105,7 +115,23 @@ public class SysPost extends BaseEntity
|
105
|
115
|
{
|
106
|
116
|
this.flag = flag;
|
107
|
117
|
}
|
108
|
|
-
|
|
118
|
+
|
|
119
|
+ public Long getDeptId() {
|
|
120
|
+ return deptId;
|
|
121
|
+ }
|
|
122
|
+
|
|
123
|
+ public void setDeptId(Long deptId) {
|
|
124
|
+ this.deptId = deptId;
|
|
125
|
+ }
|
|
126
|
+
|
|
127
|
+ public Integer getPostLevel() {
|
|
128
|
+ return postLevel;
|
|
129
|
+ }
|
|
130
|
+
|
|
131
|
+ public void setPostLevel(Integer postLevel) {
|
|
132
|
+ this.postLevel = postLevel;
|
|
133
|
+ }
|
|
134
|
+
|
109
|
135
|
@Override
|
110
|
136
|
public String toString() {
|
111
|
137
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
@@ -119,6 +145,8 @@ public class SysPost extends BaseEntity
|
119
|
145
|
.append("updateBy", getUpdateBy())
|
120
|
146
|
.append("updateTime", getUpdateTime())
|
121
|
147
|
.append("remark", getRemark())
|
|
148
|
+ .append("deptId", getDeptId())
|
|
149
|
+ .append("postLevel", getPostLevel())
|
122
|
150
|
.toString();
|
123
|
151
|
}
|
124
|
152
|
}
|