Konstruktor ausgebaut

pull/2/head
elarturo 2024-11-19 10:08:02 +01:00
parent 2a5998d231
commit 128edcf8e1
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package DomainLayer;
public class Admin extends User {
public Admin(String id, String name) {
super(id, name, 0); // Admin hat keine Jahresgebühr
super(id, name, 0.0, "admin"); // Admin hat keine jährliche Gebühr, wird aber als "admin" gesetzt
}
// Admin-spezifische Funktionen