most Objects done
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user