bugfix(user): eliminated username form User, UserJpa and DTOs

parent 9b85a765
......@@ -14,7 +14,6 @@ public class User {
private String surname;
private String email;
private String password;
private String username;
private Role role;
}
......@@ -23,6 +23,4 @@ public class UserInputDto {
@Size(min = 8, message = "La contraseña debe tener al menos 8 caracteres")
private String password;
private String username;
}
......@@ -13,6 +13,5 @@ public class UserOutputDto {
private String name;
private String surname;
private String email;
private String username;
}
......@@ -21,9 +21,6 @@ public class UserDocument {
private String email;
private String password;
@Indexed(unique = true)
private String username;
private Role role;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment