Prototypische implementierug der UserService und Controller

This commit is contained in:
2025-12-02 22:25:27 +01:00
parent 6f7185236c
commit 07f709da7c
18 changed files with 342 additions and 48 deletions
@@ -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;