diff --git a/Bibliotheksverwaltung/src/DomainLayer/Adult.java b/Bibliotheksverwaltung/src/DomainLayer/Adult.java new file mode 100644 index 0000000..a0288ff --- /dev/null +++ b/Bibliotheksverwaltung/src/DomainLayer/Adult.java @@ -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); + } +} \ No newline at end of file