Station hat nun ein Feld für den code
This commit is contained in:
parent
2db55ac35d
commit
8bcaab5bff
@ -14,6 +14,7 @@ public class Station {
|
|||||||
private String description;
|
private String description;
|
||||||
private double longitude;
|
private double longitude;
|
||||||
private double lattitude;
|
private double lattitude;
|
||||||
|
private int code;
|
||||||
|
|
||||||
public Station() {
|
public Station() {
|
||||||
}
|
}
|
||||||
@ -50,4 +51,11 @@ public class Station {
|
|||||||
this.lattitude = lattitude;
|
this.lattitude = lattitude;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getCode() {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCode(int code) {
|
||||||
|
this.code = code;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user