|
@@ -25,7 +25,7 @@ public class User extends DateAudit{
|
25
|
25
|
private Long id;
|
26
|
26
|
|
27
|
27
|
@NotBlank
|
28
|
|
- private String userName;
|
|
28
|
+ private String username;
|
29
|
29
|
|
30
|
30
|
@NotBlank
|
31
|
31
|
@NaturalId
|
|
@@ -58,8 +58,8 @@ public class User extends DateAudit{
|
58
|
58
|
}
|
59
|
59
|
|
60
|
60
|
|
61
|
|
- public User(String userName, String email, String password) {
|
62
|
|
- this.userName = userName;
|
|
61
|
+ public User(String username, String email, String password) {
|
|
62
|
+ this.username = username;
|
63
|
63
|
this.email = email;
|
64
|
64
|
this.password = password;
|
65
|
65
|
}
|
|
@@ -73,11 +73,11 @@ public class User extends DateAudit{
|
73
|
73
|
}
|
74
|
74
|
|
75
|
75
|
public String getUserName() {
|
76
|
|
- return userName;
|
|
76
|
+ return username;
|
77
|
77
|
}
|
78
|
78
|
|
79
|
79
|
public void setUserName(String userName) {
|
80
|
|
- this.userName = userName;
|
|
80
|
+ this.username = userName;
|
81
|
81
|
}
|
82
|
82
|
|
83
|
83
|
public String getEmail() {
|