diff --git a/src/main/java/de/subway_surfers/vpr_app/logik/Kind.java b/src/main/java/de/subway_surfers/vpr_app/logik/Kind.java new file mode 100644 index 0000000..ca8cf0d --- /dev/null +++ b/src/main/java/de/subway_surfers/vpr_app/logik/Kind.java @@ -0,0 +1,41 @@ +package de.subway_surfers.vpr_app.logik; + +import java.util.ArrayList; + +public class Kind { + private String name; + private String vorname; + private int id; + private ArrayList filter; + + public Kind(String name, String vorname, int id) { + ArrayList filter = new ArrayList<>(); + this.name = name; + this.vorname = vorname; + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getVorname() { + return vorname; + } + + public void setVorname(String vorname) { + this.vorname = vorname; + } + + public int getId() { + return id; + } + + public ArrayList getFilter() { + return filter; + } +} diff --git a/src/main/java/de/subway_surfers/vpr_app/logik/Mahlzeit.java b/src/main/java/de/subway_surfers/vpr_app/logik/Mahlzeit.java new file mode 100644 index 0000000..b9e8fb2 --- /dev/null +++ b/src/main/java/de/subway_surfers/vpr_app/logik/Mahlzeit.java @@ -0,0 +1,34 @@ +package de.subway_surfers.vpr_app.logik; + +import java.util.ArrayList; + +public class Mahlzeit { + private String name; + private float preis; + private ArrayList zutaten; + private String beschreibung; + + public Mahlzeit (String name, float preis, String beschreibung) { + this.name = name; + this.preis = preis; + this.beschreibung = beschreibung; + zutaten = new ArrayList<>(); + } + + public String getName() { + return name; + } + + public float getPreis() { + return preis; + } + + public ArrayList getZutaten() { + return zutaten; + } + + public String getBeschreibung() { + return beschreibung; + } + +} diff --git a/src/main/java/de/subway_surfers/vpr_app/logik/Tagesplan.java b/src/main/java/de/subway_surfers/vpr_app/logik/Tagesplan.java new file mode 100644 index 0000000..17db86b --- /dev/null +++ b/src/main/java/de/subway_surfers/vpr_app/logik/Tagesplan.java @@ -0,0 +1,22 @@ +package de.subway_surfers.vpr_app.logik; + +import java.util.ArrayList; + +public class Tagesplan { + + private ArrayList gerichte; + private String datum; + + public Tagesplan(String datum) { + this.datum = datum; + } + + public ArrayList getGerichte() { + return gerichte; + } + + public String getDatum() { + return datum; + } + +} diff --git a/src/main/java/de/subway_surfers/vpr_app/logik/Zutat.java b/src/main/java/de/subway_surfers/vpr_app/logik/Zutat.java new file mode 100644 index 0000000..b739d6a --- /dev/null +++ b/src/main/java/de/subway_surfers/vpr_app/logik/Zutat.java @@ -0,0 +1,12 @@ +package de.subway_surfers.vpr_app.logik; + +public class Zutat { + private String name; + public Zutat (String name) { + this.name = name; + } + + public String getName(){ + return this.name; + } +}