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;
|
||||
commonName?: string;
|
||||
lat?: number;
|
||||
@ -6,7 +6,7 @@ export interface IBikeStation {
|
||||
status?: BikePointStatus;
|
||||
}
|
||||
|
||||
export class BikeStation implements IBikeStation {
|
||||
export class MapBikePoint implements IMapBikePoint {
|
||||
constructor(
|
||||
public id?: string,
|
||||
public commonName?: string,
|
||||
|
Loading…
Reference in New Issue
Block a user