source:
trip-planner-front/src/app/_models/location.ts@
571e0df
Last change on this file since 571e0df was bdd6491, checked in by , 3 years ago | |
---|---|
|
|
File size: 494 bytes |
Rev | Line | |
---|---|---|
[59329aa] | 1 | |
[6a3a178] | 2 | export class Location{ |
3 | ||
4 | id: number; | |
5 | name: string; | |
6 | description: string; | |
7 | address: string; | |
8 | priority: string; | |
9 | duration: number; | |
[bdd6491] | 10 | trivia: string; |
[59329aa] | 11 | photo: any[]; |
[6a3a178] | 12 | |
13 | constructor(){ | |
14 | this.id = 1; | |
15 | this.name = 'Location name'; | |
16 | this.description = 'Location description'; | |
17 | this.address = 'Location addreess'; | |
18 | this.priority = 'Location priority'; | |
19 | this.duration = 1; | |
[bdd6491] | 20 | this.trivia = ''; |
[59329aa] | 21 | this.photo = []; |
[6a3a178] | 22 | } |
23 | } |
Note:
See TracBrowser
for help on using the repository browser.