diff --git a/src/main/java/de/uniluebeck/mi/projmi6/model/StationsHistorie.java b/src/main/java/de/uniluebeck/mi/projmi6/model/StationsHistorie.java new file mode 100644 index 0000000..a59bbc0 --- /dev/null +++ b/src/main/java/de/uniluebeck/mi/projmi6/model/StationsHistorie.java @@ -0,0 +1,69 @@ +package de.uniluebeck.mi.projmi6.model; + +import javafx.beans.property.SimpleIntegerProperty; +import javafx.beans.property.SimpleObjectProperty; + +import java.time.LocalDateTime; + +/** + * Created by Eugene on 15.11.2015. + */ +public class StationsHistorie extends Version { + private SimpleObjectProperty aufnahmeDatum = new SimpleObjectProperty<>(this, "aufnahmeDatum"); + private SimpleObjectProperty entlassungsDatum = new SimpleObjectProperty<>(this, "entlassungsDatum"); + private Fall fall; + private Station station; + private SimpleIntegerProperty StatHistID = new SimpleIntegerProperty(this, "stathistid"); + + public LocalDateTime getAufnahmeDatum() { + return aufnahmeDatum.get(); + } + + public SimpleObjectProperty aufnahmeDatumProperty() { + return aufnahmeDatum; + } + + public void setAufnahmeDatum(LocalDateTime aufnahmeDatum) { + this.aufnahmeDatum.set(aufnahmeDatum); + } + + public LocalDateTime getEntlassungsDatum() { + return entlassungsDatum.get(); + } + + public SimpleObjectProperty entlassungsDatumProperty() { + return entlassungsDatum; + } + + public void setEntlassungsDatum(LocalDateTime entlassungsDatum) { + this.entlassungsDatum.set(entlassungsDatum); + } + + public Fall getFall() { + return fall; + } + + public void setFall(Fall fall) { + this.fall = fall; + } + + public Station getStation() { + return station; + } + + public void setStation(Station station) { + this.station = station; + } + + public int getStatHistID() { + return StatHistID.get(); + } + + public SimpleIntegerProperty statHistIDProperty() { + return StatHistID; + } + + public void setStatHistID(int statHistID) { + this.StatHistID.set(statHistID); + } +}