38 lines
709 B
Java
38 lines
709 B
Java
|
package com.bib.essensbestellungsverwaltung;
|
||
|
|
||
|
public class Address {
|
||
|
private long id;
|
||
|
private String street;
|
||
|
private String number;
|
||
|
private String plz;
|
||
|
private String city;
|
||
|
|
||
|
public long getId() {
|
||
|
return id;
|
||
|
}
|
||
|
|
||
|
public String getStreet() {
|
||
|
return street;
|
||
|
}
|
||
|
|
||
|
public String getNumber() {
|
||
|
return number;
|
||
|
}
|
||
|
|
||
|
public String getPlz() {
|
||
|
return plz;
|
||
|
}
|
||
|
|
||
|
public String getCity() {
|
||
|
return city;
|
||
|
}
|
||
|
|
||
|
public Address(long id, String street, String number, String plz, String city) {
|
||
|
this.id = id;
|
||
|
this.street = street;
|
||
|
this.number = number;
|
||
|
this.plz = plz;
|
||
|
this.city = city;
|
||
|
}
|
||
|
}
|