2025-02-15 11:08:09 +01:00
|
|
|
import type { CalendarTypeViewModel } from "../configuration/calendarType.models";
|
2024-10-27 15:51:15 +01:00
|
|
|
|
|
|
|
export interface CalendarViewModel {
|
2024-10-28 16:02:41 +01:00
|
|
|
id: string;
|
2024-11-07 09:16:38 +01:00
|
|
|
starttime: string;
|
|
|
|
endtime: string;
|
2024-10-27 15:51:15 +01:00
|
|
|
title: string;
|
|
|
|
content: string;
|
2024-10-28 16:02:41 +01:00
|
|
|
location: string;
|
|
|
|
allDay: boolean;
|
|
|
|
createdAt: Date;
|
|
|
|
updatedAt: Date;
|
2024-10-27 15:51:15 +01:00
|
|
|
type: CalendarTypeViewModel;
|
|
|
|
}
|
2024-10-28 16:02:41 +01:00
|
|
|
|
|
|
|
export interface CreateCalendarViewModel {
|
2024-11-07 10:49:50 +01:00
|
|
|
starttime: string;
|
|
|
|
endtime: string;
|
2024-10-28 16:02:41 +01:00
|
|
|
title: string;
|
|
|
|
content: string;
|
|
|
|
location: string;
|
|
|
|
allDay: boolean;
|
|
|
|
typeId: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UpdateCalendarViewModel {
|
|
|
|
id: string;
|
2024-11-07 10:49:50 +01:00
|
|
|
starttime: string;
|
|
|
|
endtime: string;
|
2024-10-28 16:02:41 +01:00
|
|
|
title: string;
|
|
|
|
content: string;
|
|
|
|
location: string;
|
|
|
|
allDay: boolean;
|
|
|
|
typeId: string;
|
|
|
|
}
|