Edited UserInfo

This commit is contained in:
Nikolaos Laskaris 2017-10-18 13:20:04 +03:00
parent f8490cbc2b
commit 6d4517900d
1 changed files with 23 additions and 9 deletions

View File

@ -32,13 +32,10 @@ public class UserInfo implements Serializable{
@Id
@GeneratedValue
@GenericGenerator(name = "uuid2", strategy = "uuid2")
@Column(name = "autoid", updatable = false, nullable = false, columnDefinition = "BINARY(16)")
private UUID autoid;
@Column(name = "id", updatable = false, nullable = false, columnDefinition = "BINARY(16)")
private UUID id;
@Column(name = "identification", nullable = false)
private String identification = null;
@Column(name = "email", nullable = false)
private String email = null;
@ -71,12 +68,29 @@ public class UserInfo implements Serializable{
@Column(name = "additionalinfo", columnDefinition = "xml", nullable = true)
private String additionalinfo;
public String getIdentification() {
return identification;
public UUID getId() {
return id;
}
public void setIdentification(String identification) {
this.identification = identification;
public void setId(UUID id) {
this.id = id;
}
public Date getCreated() {
return created;
}
public void setCreated(Date created) {
this.created = created;
}
public Date getLastloggedin() {
return lastloggedin;
}
public void setLastloggedin(Date lastloggedin) {
this.lastloggedin = lastloggedin;
}
public String getEmail() {