add Bikestation object
This commit is contained in:
parent
22cd28e2b3
commit
95baf1f9b7
@ -0,0 +1,20 @@
|
|||||||
|
export interface IBikeStation {
|
||||||
|
id?: string;
|
||||||
|
url?: string;
|
||||||
|
commonName?: string;
|
||||||
|
placeType?: string;
|
||||||
|
lat?: number;
|
||||||
|
lon?: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
export class BikeStation implements IBikeStation {
|
||||||
|
constructor(
|
||||||
|
public id?: string,
|
||||||
|
public url?: string,
|
||||||
|
public commonName?: string,
|
||||||
|
public placeType?: string,
|
||||||
|
public lat?: number,
|
||||||
|
public lon?: number
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user