Files
doneit-web/src/app/models/event.model.ts
T
Peter Maquiran 04fc1f7e7f Fix colors
2021-07-26 22:46:33 +01:00

56 lines
1.4 KiB
TypeScript

import { EventRecurrence } from './agenda/eventrecurrence.model';
import { EventBody } from './eventbody.model';
import { EventPerson } from './eventperson.model';
export class Event{
ParentId?: string;
EventId: string;
Subject: string;
Body: EventBody;
Location: string;
CalendarId: string;
CalendarName: string;
StartDate: Date;
EndDate: Date;
EventType: string;
Attendees: EventPerson[];
IsMeeting: boolean;
IsRecurring: boolean;
AppointmentState: number;
TimeZone: string;
Organizer: any
Category: string;
HasAttachments: boolean;
EventRecurrence: EventRecurrence;
Name?: string
/* public Event(){
this.EventRecurrence = new EventRecurrence();
} */
}
export class EventToApproveEdit {
"serialNumber": "9296_86"
"Body": "Testando"
"Location": "Testland"
"Subject": "Teste 0123"
"StartDate": "2021-05-12T10:30:00"
"EndDate": "2021-05-12T11:30:00"
"Private": false
"ReviewUserComment": ""
"MDName": "Paulo Pinto"
"OccurrenceType": "-1"
"LastOccurrence": "2021-07-14"
"MDEmail": "paulo.pinto@gabinetedigital.local"
"Agenda": "Oficial" | "Pessoal"
"EventType": "Reunião"
"IsRecurring": false
"IsAllDayEvent": true
"ParticipantsList": {
"EmailAddress": "gilson.manuel@gabinetedigital.local",
"Name": "Gilson Manuel",
"IsRequired": true
}[]
"Message": "Recebeu um novo"
}