rename DO to MapBikePoint for introduction of dashboard-common-station
This commit is contained in:
parent
1e755566e3
commit
7c1612f8da
@ -0,0 +1,20 @@
|
|||||||
|
export interface IDashboardCommonBikePoint {
|
||||||
|
id?: string;
|
||||||
|
commonName?: string;
|
||||||
|
lat?: number;
|
||||||
|
lon?: number;
|
||||||
|
maxEndDate?: string;
|
||||||
|
maxStartDate?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export class DashboardCommonBikePoint implements IDashboardCommonBikePoint {
|
||||||
|
constructor(
|
||||||
|
public id?: string,
|
||||||
|
public commonName?: string,
|
||||||
|
public lat?: number,
|
||||||
|
public lon?: number,
|
||||||
|
public maxEndDate?: string,
|
||||||
|
public maxStartDate?: string
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
export interface IBikeStation {
|
export interface IMapBikePoint {
|
||||||
id?: string;
|
id?: string;
|
||||||
commonName?: string;
|
commonName?: string;
|
||||||
lat?: number;
|
lat?: number;
|
||||||
@ -6,7 +6,7 @@ export interface IBikeStation {
|
|||||||
status?: BikePointStatus;
|
status?: BikePointStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class BikeStation implements IBikeStation {
|
export class MapBikePoint implements IMapBikePoint {
|
||||||
constructor(
|
constructor(
|
||||||
public id?: string,
|
public id?: string,
|
||||||
public commonName?: string,
|
public commonName?: string,
|
||||||
|
Loading…
Reference in New Issue
Block a user