Adding entity for api
This commit is contained in:
6
src/app/interface/LocationEntity.ts
Normal file
6
src/app/interface/LocationEntity.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface LocationEntity {
|
||||
location: string;
|
||||
region: string;
|
||||
lat: number;
|
||||
lon: number;
|
||||
}
|
||||
6
src/app/interface/UserEntity.ts
Normal file
6
src/app/interface/UserEntity.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface UserEntity {
|
||||
id: number;
|
||||
name: string;
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
9
src/app/interface/WaypointsEntity.ts
Normal file
9
src/app/interface/WaypointsEntity.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface WaypointsEntity {
|
||||
id: number;
|
||||
name: string;
|
||||
lat: number;
|
||||
lon: number;
|
||||
description: string;
|
||||
img: string;
|
||||
locationName: string;
|
||||
}
|
||||
4
src/app/interface/WaypointsVisitedEntity.ts
Normal file
4
src/app/interface/WaypointsVisitedEntity.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface WaypointsVisitedEntity {
|
||||
userId: number;
|
||||
waypointId: number;
|
||||
}
|
||||
Reference in New Issue
Block a user