Student mit entsprechenden Gebühren
parent
5f178ce643
commit
ac2f223a96
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue