79 lines
1.6 KiB
Java
79 lines
1.6 KiB
Java
package com.jkgroller.cryptonote.service.to;
|
|
|
|
import com.jkgroller.cryptonote.enums.AccountRole;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
public class AccountTO {
|
|
|
|
private String identifier;
|
|
|
|
private String userName;
|
|
|
|
private String password;
|
|
|
|
private AccountRole role;
|
|
|
|
private LocalDateTime creationDateTime;
|
|
|
|
private byte[] encryptedSurrogateKey;
|
|
|
|
private byte[] surrogateKeySalt;
|
|
|
|
public String getIdentifier() {
|
|
return identifier;
|
|
}
|
|
|
|
public void setIdentifier(String identifier) {
|
|
this.identifier = identifier;
|
|
}
|
|
|
|
public String getUserName() {
|
|
return userName;
|
|
}
|
|
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
public AccountRole getRole() {
|
|
return role;
|
|
}
|
|
|
|
public void setRole(AccountRole role) {
|
|
this.role = role;
|
|
}
|
|
|
|
public LocalDateTime getCreationDateTime() {
|
|
return creationDateTime;
|
|
}
|
|
|
|
public void setCreationDateTime(LocalDateTime creationDateTime) {
|
|
this.creationDateTime = creationDateTime;
|
|
}
|
|
|
|
public byte[] getEncryptedSurrogateKey() {
|
|
return encryptedSurrogateKey;
|
|
}
|
|
|
|
public void setEncryptedSurrogateKey(byte[] encryptedSurrogateKey) {
|
|
this.encryptedSurrogateKey = encryptedSurrogateKey;
|
|
}
|
|
|
|
public byte[] getSurrogateKeySalt() {
|
|
return surrogateKeySalt;
|
|
}
|
|
|
|
public void setSurrogateKeySalt(byte[] surrogateKeySalt) {
|
|
this.surrogateKeySalt = surrogateKeySalt;
|
|
}
|
|
}
|