Prototypische implementierug der UserService und Controller
This commit is contained in:
@@ -2,23 +2,22 @@ package SuMoC.backend.security.models;
|
||||
|
||||
public class UserRegistrationDTO {
|
||||
|
||||
private String username;
|
||||
private String privateName;
|
||||
private String publicName;
|
||||
private String email;
|
||||
private String password;
|
||||
|
||||
public UserRegistrationDTO(String username, String email, String password){
|
||||
this.username = username;
|
||||
public UserRegistrationDTO(String privateName, String publicName, String email, String password){
|
||||
this.privateName = privateName;
|
||||
this.publicName = publicName;
|
||||
this.email = email;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
public String getPrivateName() { return privateName; }
|
||||
public void setPrivateName(String privateName) { this.privateName = privateName; }
|
||||
public String getPublicName() { return publicName; }
|
||||
public void setPublicName(String publicName) { this.publicName = publicName; }
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
|
||||
Reference in New Issue
Block a user