Adult Klasse hinzugefügt
parent
c44ab9c81c
commit
8d502a3504
|
|
@ -0,0 +1,9 @@
|
|||
package DomainLayer;
|
||||
|
||||
public class Adult extends User {
|
||||
private static final double REGULAR_FEE = 50.0; // Jahresgebühr für Erwachsene
|
||||
|
||||
public Adult(String id, String name) {
|
||||
super(id, name, REGULAR_FEE);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue