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,