a cache has a startStation now
This commit is contained in:
parent
bf7f178d17
commit
ab1c6899d6
@ -23,6 +23,9 @@ public class Cache {
|
|||||||
@ManyToOne
|
@ManyToOne
|
||||||
private Reward reward;
|
private Reward reward;
|
||||||
|
|
||||||
|
@ManyToOne
|
||||||
|
private Station startStation;
|
||||||
|
|
||||||
public Cache() {
|
public Cache() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,4 +76,12 @@ public class Cache {
|
|||||||
public void setReward(Reward reward) {
|
public void setReward(Reward reward) {
|
||||||
this.reward = reward;
|
this.reward = reward;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Station getStartStation() {
|
||||||
|
return startStation;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStartStation(Station startStation) {
|
||||||
|
this.startStation = startStation;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user