Kinder und Eltern

This commit is contained in:
2024-01-17 11:21:26 +01:00
parent 17bf862890
commit c5f7391631
3 changed files with 10 additions and 5 deletions

View File

@@ -3,6 +3,8 @@
package Logik;
import RestAPISchnittstelle.RestApiClient;
public class Account {
// region Felder
@@ -14,7 +16,6 @@ public class Account {
private String email;
private int rid;
// endregion
@@ -57,6 +58,7 @@ public class Account {
public Account(String passwort, String name, String email) {
this.passwort = passwort;
this.name = name;
this.email = email;
if(this instanceof MitarbeiterAccount)
rid = 0;
@@ -64,5 +66,4 @@ public class Account {
rid = 1;
}
// endregion
}