Adresse + Klasse Datenmodell

master
BretschneiderMarvin 2023-03-28 14:36:43 +02:00
parent d3b28c9019
commit 98b2e9b410
3 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,51 @@
public class Adresse {
private String land;
private String strasse;
private String plz;
private String wohnort;
private String hausnummer;
public Adresse(String land, String strasse, String hausnummer, String plz, String wohnort) {
this.land = land;
this.strasse = strasse;
this.hausnummer = hausnummer;
this.plz = plz;
this.wohnort = wohnort;
}
public String getLand() {
return land;
}
public String getStrasse() {
return strasse;
}
public String getHausnummer() {
return hausnummer;
}
public String getPlz() {
return plz;
}
public String getWohnort() {
return wohnort;
}
}

View File

@ -0,0 +1,18 @@
public class Datenmodell {
private String firmenname;
private String Firmenadresse;
private String Bankverbindung;
public String getFirmenname() {
return firmenname;
}
public String getFirmenadresse() {
return Firmenadresse;
}
public String getBankverbindung() {
return Bankverbindung;
}
}

View File

@ -0,0 +1,9 @@
public class Persistenz {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}