rename DO to MapBikePoint for introduction of dashboard-common-station

This commit is contained in:
Tim Herbst 2020-12-22 07:55:07 +01:00
parent 1e755566e3
commit 7c1612f8da
2 changed files with 22 additions and 2 deletions

View File

@ -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
) {
}
}

View File

@ -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,