From 95baf1f9b7a49ce29e56268f796e4b599f0b7db7 Mon Sep 17 00:00:00 2001 From: tim-herbst Date: Sat, 19 Dec 2020 18:53:42 +0100 Subject: [PATCH] add Bikestation object --- .../src/app/service/domain/bike-station.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 projects/project-3/frontend/src/app/service/domain/bike-station.ts diff --git a/projects/project-3/frontend/src/app/service/domain/bike-station.ts b/projects/project-3/frontend/src/app/service/domain/bike-station.ts new file mode 100644 index 0000000..e0d600f --- /dev/null +++ b/projects/project-3/frontend/src/app/service/domain/bike-station.ts @@ -0,0 +1,20 @@ +export interface IBikeStation { + id?: string; + url?: string; + commonName?: string; + placeType?: string; + lat?: number; + lon?: number; +} + +export class BikeStation implements IBikeStation { + constructor( + public id?: string, + public url?: string, + public commonName?: string, + public placeType?: string, + public lat?: number, + public lon?: number + ) { + } +}