most Objects done

This commit is contained in:
2023-01-30 04:26:30 +01:00
parent a0eed3ce51
commit 81bcb44d74
15 changed files with 396 additions and 121 deletions

View File

@@ -1,4 +1,7 @@
package com.bib.essensbestellungsverwaltung;
/*
@author Malte Schulze Hobeling
*/
public class Address {
private long id;
@@ -34,4 +37,11 @@ public class Address {
this.plz = plz;
this.city = city;
}
public Address(String street, String number, String plz, String city) {
this.id = -1;
this.street = street;
this.number = number;
this.plz = plz;
this.city = city;
}
}