exposed user first and lastname
This commit is contained in:
@ -12,5 +12,7 @@ package de.muehlencord.shared.account.business.account.entity;
|
||||
public interface Account {
|
||||
|
||||
String getUsername();
|
||||
String getFirstname();
|
||||
String getLastname();
|
||||
|
||||
}
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
package de.muehlencord.shared.account.business.account.entity;
|
||||
|
||||
import de.muehlencord.shared.account.business.config.entity.ConfigEntity;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
@ -195,6 +194,7 @@ public class AccountEntity implements Serializable, Account {
|
||||
this.emailaddress = emailaddress;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFirstname() {
|
||||
return firstname;
|
||||
}
|
||||
@ -203,6 +203,7 @@ public class AccountEntity implements Serializable, Account {
|
||||
this.firstname = firstname;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLastname() {
|
||||
return lastname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user