exposed user first and lastname

This commit is contained in:
2018-08-28 16:35:03 +02:00
parent ecf8558e92
commit 65cdf950c9
2 changed files with 4 additions and 1 deletions

View File

@ -12,5 +12,7 @@ package de.muehlencord.shared.account.business.account.entity;
public interface Account { public interface Account {
String getUsername(); String getUsername();
String getFirstname();
String getLastname();
} }

View File

@ -1,6 +1,5 @@
package de.muehlencord.shared.account.business.account.entity; package de.muehlencord.shared.account.business.account.entity;
import de.muehlencord.shared.account.business.config.entity.ConfigEntity;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -195,6 +194,7 @@ public class AccountEntity implements Serializable, Account {
this.emailaddress = emailaddress; this.emailaddress = emailaddress;
} }
@Override
public String getFirstname() { public String getFirstname() {
return firstname; return firstname;
} }
@ -203,6 +203,7 @@ public class AccountEntity implements Serializable, Account {
this.firstname = firstname; this.firstname = firstname;
} }
@Override
public String getLastname() { public String getLastname() {
return lastname; return lastname;
} }