a cache has a startStation now

This commit is contained in:
Michael 2019-03-28 14:50:52 +01:00
parent bf7f178d17
commit ab1c6899d6

View File

@ -23,6 +23,9 @@ public class Cache {
@ManyToOne
private Reward reward;
@ManyToOne
private Station startStation;
public Cache() {
}
@ -73,4 +76,12 @@ public class Cache {
public void setReward(Reward reward) {
this.reward = reward;
}
public Station getStartStation() {
return startStation;
}
public void setStartStation(Station startStation) {
this.startStation = startStation;
}
}