Browse Source

新增用户实体属性

my-csc-config-file.git 5 years ago
parent
commit
c9ddc098bd
1 changed files with 68 additions and 32 deletions
  1. 68 32
      src/main/java/com/unissoft/model/SysUserPO.java

+ 68 - 32
src/main/java/com/unissoft/model/SysUserPO.java

@@ -24,6 +24,8 @@ public class SysUserPO implements Serializable {
24 24
     private String personnelName;
25 25
     //"用于区分登录跳转那个页面(1.分公司领导首页 2.库主任及以上领导首页 3.员工首页)必填项
26 26
     private Integer homeType;
27
+    // "人员id必填")
28
+    private Integer personnelId;
27 29
     //密码
28 30
     private String uPassword;
29 31
     //    所属库id
@@ -40,41 +42,14 @@ public class SysUserPO implements Serializable {
40 42
     //"所属公司名称")
41 43
     private String companyName;
42 44
 
45
+   // "所属部门id")
46
+    private Integer departmentId;
47
+    // "所属公司id")
48
+    private Integer companyId;
49
+
43 50
     //"所属部门名称")
44 51
     private String departmentName;
45 52
 
46
-    public String getDepotName() {
47
-        return depotName;
48
-    }
49
-
50
-    public void setDepotName(String depotName) {
51
-        this.depotName = depotName;
52
-    }
53
-
54
-    public String getCompanyName() {
55
-        return companyName;
56
-    }
57
-
58
-    public void setCompanyName(String companyName) {
59
-        this.companyName = companyName;
60
-    }
61
-
62
-    public String getDepartmentName() {
63
-        return departmentName;
64
-    }
65
-
66
-    public void setDepartmentName(String departmentName) {
67
-        this.departmentName = departmentName;
68
-    }
69
-
70
-    public String getPersonnelName() {
71
-        return personnelName;
72
-    }
73
-
74
-    public void setPersonnelName(String personnelName) {
75
-        this.personnelName = personnelName;
76
-    }
77
-
78 53
     public Integer getuId() {
79 54
         return uId;
80 55
     }
@@ -91,6 +66,14 @@ public class SysUserPO implements Serializable {
91 66
         this.uName = uName;
92 67
     }
93 68
 
69
+    public String getPersonnelName() {
70
+        return personnelName;
71
+    }
72
+
73
+    public void setPersonnelName(String personnelName) {
74
+        this.personnelName = personnelName;
75
+    }
76
+
94 77
     public Integer getHomeType() {
95 78
         return homeType;
96 79
     }
@@ -99,6 +82,14 @@ public class SysUserPO implements Serializable {
99 82
         this.homeType = homeType;
100 83
     }
101 84
 
85
+    public Integer getPersonnelId() {
86
+        return personnelId;
87
+    }
88
+
89
+    public void setPersonnelId(Integer personnelId) {
90
+        this.personnelId = personnelId;
91
+    }
92
+
102 93
     public String getuPassword() {
103 94
         return uPassword;
104 95
     }
@@ -115,6 +106,14 @@ public class SysUserPO implements Serializable {
115 106
         this.depotId = depotId;
116 107
     }
117 108
 
109
+    public String getDepotName() {
110
+        return depotName;
111
+    }
112
+
113
+    public void setDepotName(String depotName) {
114
+        this.depotName = depotName;
115
+    }
116
+
118 117
     public String getStorehouseIds() {
119 118
         return storehouseIds;
120 119
     }
@@ -139,18 +138,55 @@ public class SysUserPO implements Serializable {
139 138
         this.roleName = roleName;
140 139
     }
141 140
 
141
+    public String getCompanyName() {
142
+        return companyName;
143
+    }
144
+
145
+    public void setCompanyName(String companyName) {
146
+        this.companyName = companyName;
147
+    }
148
+
149
+    public Integer getDepartmentId() {
150
+        return departmentId;
151
+    }
152
+
153
+    public void setDepartmentId(Integer departmentId) {
154
+        this.departmentId = departmentId;
155
+    }
156
+
157
+    public Integer getCompanyId() {
158
+        return companyId;
159
+    }
160
+
161
+    public void setCompanyId(Integer companyId) {
162
+        this.companyId = companyId;
163
+    }
164
+
165
+    public String getDepartmentName() {
166
+        return departmentName;
167
+    }
168
+
169
+    public void setDepartmentName(String departmentName) {
170
+        this.departmentName = departmentName;
171
+    }
172
+
142 173
     @Override
143 174
     public String toString() {
144 175
         return "SysUserPO{" +
145 176
                 "uId=" + uId +
146 177
                 ", uName='" + uName + '\'' +
178
+                ", personnelName='" + personnelName + '\'' +
147 179
                 ", homeType=" + homeType +
180
+                ", personnelId=" + personnelId +
148 181
                 ", uPassword='" + uPassword + '\'' +
149 182
                 ", depotId=" + depotId +
183
+                ", depotName='" + depotName + '\'' +
150 184
                 ", storehouseIds='" + storehouseIds + '\'' +
151 185
                 ", roleIds='" + roleIds + '\'' +
152 186
                 ", roleName='" + roleName + '\'' +
153 187
                 ", companyName='" + companyName + '\'' +
188
+                ", departmentId=" + departmentId +
189
+                ", companyId=" + companyId +
154 190
                 ", departmentName='" + departmentName + '\'' +
155 191
                 '}';
156 192
     }