|
@@ -73,22 +73,20 @@ public class User implements Serializable {
|
|
|
private String email;
|
|
|
|
|
|
/**
|
|
|
- * 用户类型
|
|
|
+ * 所属部门
|
|
|
*/
|
|
|
- private Integer type;
|
|
|
-
|
|
|
+ private String dept;
|
|
|
|
|
|
- public Integer getType() {
|
|
|
- return type;
|
|
|
- }
|
|
|
+ /**
|
|
|
+ * 所属岗位
|
|
|
+ */
|
|
|
+ private String position;
|
|
|
|
|
|
- public void setType(Integer type) {
|
|
|
- this.type = type;
|
|
|
- }
|
|
|
+ /**
|
|
|
+ * 用户类型
|
|
|
+ */
|
|
|
+ private Integer type;
|
|
|
|
|
|
- public static long getSerialversionuid() {
|
|
|
- return serialVersionUID;
|
|
|
- }
|
|
|
|
|
|
public Long getId() {
|
|
|
return id;
|
|
@@ -170,6 +168,31 @@ public class User implements Serializable {
|
|
|
this.email = email;
|
|
|
}
|
|
|
|
|
|
+ public String getDept() {
|
|
|
+ return dept;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDept(String dept) {
|
|
|
+ this.dept = dept;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPosition() {
|
|
|
+ return position;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPosition(String position) {
|
|
|
+ this.position = position;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(Integer type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "User{" +
|
|
@@ -183,6 +206,8 @@ public class User implements Serializable {
|
|
|
", username='" + username + '\'' +
|
|
|
", linkman='" + linkman + '\'' +
|
|
|
", email='" + email + '\'' +
|
|
|
+ ", dept='" + dept + '\'' +
|
|
|
+ ", position='" + position + '\'' +
|
|
|
", type=" + type +
|
|
|
'}';
|
|
|
}
|