Student mit entsprechenden Gebühren

Feature-LibraryService
elarturo 2024-11-18 23:04:01 +01:00
parent 5f178ce643
commit ac2f223a96
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package DomainLayer;
public class Student extends User {
private static final double DISCOUNTED_FEE = 25.0; // Jahresgebühr für Schüler/Studenten
public Student(String id, String name) {
super(id, name, DISCOUNTED_FEE);
}
}