FEAT: deleteRoom endpoint and ResponseEntity usage

This commit is contained in:
2026-06-18 18:44:18 +02:00
parent 835ad93bac
commit 1bd62ff3ca
10 changed files with 109 additions and 53 deletions

View File

@@ -14,6 +14,9 @@ public class User {
private String password;
@Column(nullable = false)
private String role = "USER";
public User(){
}
@@ -46,4 +49,13 @@ public class User {
public void setPassword(String password){
this.password = password;
}
public String getRole(){
return role;
}
public void setRole(String role){
this.role = role;
}
}