Last change
on this file since 1ad8e64 was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago |
adding photos
|
-
Property mode
set to
100644
|
File size:
448 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;
|
---|
[59329aa] | 10 | photo: any[];
|
---|
[6a3a178] | 11 |
|
---|
| 12 | constructor(){
|
---|
| 13 | this.id = 1;
|
---|
| 14 | this.name = 'Location name';
|
---|
| 15 | this.description = 'Location description';
|
---|
| 16 | this.address = 'Location addreess';
|
---|
| 17 | this.priority = 'Location priority';
|
---|
| 18 | this.duration = 1;
|
---|
[59329aa] | 19 | this.photo = [];
|
---|
[6a3a178] | 20 | }
|
---|
| 21 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.