src/app/classes/event.ts
Event class
Properties |
constructor(eventData: any)
|
||||||||
Defined in src/app/classes/event.ts:25
|
||||||||
Constructor
Parameters :
|
date |
date:
|
Type : string
|
Defined in src/app/classes/event.ts:7
|
Date |
deleted |
deleted:
|
Type : boolean
|
Defined in src/app/classes/event.ts:25
|
I sdeleted |
description |
description:
|
Type : string
|
Defined in src/app/classes/event.ts:9
|
Description |
id |
id:
|
Type : string
|
Defined in src/app/classes/event.ts:11
|
ID |
location |
location:
|
Type : string
|
Defined in src/app/classes/event.ts:13
|
Location |
name |
name:
|
Type : string
|
Defined in src/app/classes/event.ts:15
|
Name |
password |
password:
|
Type : string
|
Defined in src/app/classes/event.ts:17
|
Password |
photographerUid |
photographerUid:
|
Type : string
|
Defined in src/app/classes/event.ts:19
|
Photographer UID |
public |
public:
|
Type : boolean
|
Defined in src/app/classes/event.ts:21
|
Public |
ratings |
ratings:
|
Type : number
|
Defined in src/app/classes/event.ts:23
|
Ratings |
export class Event {
/** Date */
date: string;
/** Description */
description?: string;
/** ID */
id: string;
/** Location */
location: string;
/** Name */
name: string;
/** Password */
password?: string;
/** Photographer UID */
photographerUid: string;
/** Public */
public: boolean;
/** Ratings */
ratings: number;
/** I sdeleted */
deleted: boolean;
/**
* Constructor
* @param {any} eventData
*/
constructor(eventData: any) {
this.date = eventData.date;
this.description = '';
this.id = eventData.id;
this.location = eventData.location;
this.name = eventData.name;
this.password = null;
this.photographerUid = eventData.photographerUid;
this.public = false;
this.ratings = 0;
this.deleted = false;
}
}