|
|
@@ -1,5 +1,6 @@
|
|
|
package cn.seecoder.bok.common.vo.user;
|
|
|
|
|
|
+import cn.seecoder.bok.common.UserRole;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
import lombok.ToString;
|
|
|
@@ -14,6 +15,8 @@ public class UpdateUserVO {
|
|
|
|
|
|
private String email;
|
|
|
|
|
|
+ private UserRole userRole;
|
|
|
+
|
|
|
public Integer getId() {
|
|
|
return id;
|
|
|
}
|
|
|
@@ -38,9 +41,24 @@ public class UpdateUserVO {
|
|
|
this.email = email;
|
|
|
}
|
|
|
|
|
|
+ public UserRole getUserRole() {
|
|
|
+ return userRole;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserRole(UserRole userRole) {
|
|
|
+ this.userRole = userRole;
|
|
|
+ }
|
|
|
+
|
|
|
public UpdateUserVO() {
|
|
|
}
|
|
|
|
|
|
+ public UpdateUserVO(Integer id, String name, String email, UserRole userRole) {
|
|
|
+ this.id = id;
|
|
|
+ this.name = name;
|
|
|
+ this.email = email;
|
|
|
+ this.userRole = userRole;
|
|
|
+ }
|
|
|
+
|
|
|
public UpdateUserVO(Integer id, String name, String email) {
|
|
|
this.id = id;
|
|
|
this.name = name;
|