source: trip-planner-front/src/app/_models/dto/locationDto.ts

Last change on this file was 6fe77af, checked in by Ema <ema_spirova@…>, 3 years ago

add location feature

  • Property mode set to 100644
File size: 580 bytes
Line 
1import { Byte } from "@angular/compiler/src/util";
2
3export class LocationDto {
4 name: string;
5
6 description: string;
7
8 address: string;
9
10 priority: string;
11
12 duration: number;
13
14 trivia: string;
15
16 photo: Byte[];
17
18 region: number;
19
20 city: number;
21
22 user: string;
23
24
25 constructor() {
26 this.name = '';
27 this.description = '';
28 this.address = '';
29 this.priority = '';
30 this.duration = 0;
31 this.trivia = '';
32 this.photo = [];
33 this.city = 0;
34 this.region = 0;
35 this.user = '';
36 }
37}
Note: See TracBrowser for help on using the repository browser.