From 7c1612f8da8513ed349412f0f6c1c20f552447d4 Mon Sep 17 00:00:00 2001 From: Tim Herbst Date: Tue, 22 Dec 2020 07:55:07 +0100 Subject: [PATCH] rename DO to MapBikePoint for introduction of dashboard-common-station --- .../domain/dashboard-common-bike-point.ts | 20 +++++++++++++++++++ .../src/app/service/domain/map-bike-point.ts | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 projects/project-3/frontend/src/app/service/domain/dashboard-common-bike-point.ts diff --git a/projects/project-3/frontend/src/app/service/domain/dashboard-common-bike-point.ts b/projects/project-3/frontend/src/app/service/domain/dashboard-common-bike-point.ts new file mode 100644 index 0000000..b47a0bb --- /dev/null +++ b/projects/project-3/frontend/src/app/service/domain/dashboard-common-bike-point.ts @@ -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 + ) { + } +} diff --git a/projects/project-3/frontend/src/app/service/domain/map-bike-point.ts b/projects/project-3/frontend/src/app/service/domain/map-bike-point.ts index aeab428..67a75aa 100644 --- a/projects/project-3/frontend/src/app/service/domain/map-bike-point.ts +++ b/projects/project-3/frontend/src/app/service/domain/map-bike-point.ts @@ -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,