Решённая проблема с entrysData
This commit is contained in:
parent
3239674edf
commit
27e7d7df3f
@ -14,7 +14,7 @@ public class EntrysDataDto {
|
||||
@NotBlank
|
||||
private String login;
|
||||
@NotNull
|
||||
private String role;
|
||||
private String role = "user";
|
||||
@NotBlank
|
||||
private String password;
|
||||
|
||||
@ -40,11 +40,6 @@ public class EntrysDataDto {
|
||||
return role;
|
||||
}
|
||||
|
||||
public void setRole(String role) {
|
||||
role = "user";
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
@ -43,10 +43,6 @@ public class EntrysDataEntity extends BaseEntity {
|
||||
return role;
|
||||
}
|
||||
|
||||
public void setRole(String role) {
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
public DepartmentEntity getDepartment() {
|
||||
return department;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user