ff-admin/src/viewmodels/admin/club/calendar.models.ts

35 lines
693 B
TypeScript

import type { CalendarTypeViewModel } from "../configuration/calendarType.models";
export interface CalendarViewModel {
id: string;
starttime: string;
endtime: string;
title: string;
content: string;
location: string;
allDay: boolean;
createdAt: Date;
updatedAt: Date;
type: CalendarTypeViewModel;
}
export interface CreateCalendarViewModel {
starttime: string;
endtime: string;
title: string;
content: string;
location: string;
allDay: boolean;
typeId: string;
}
export interface UpdateCalendarViewModel {
id: string;
starttime: string;
endtime: string;
title: string;
content: string;
location: string;
allDay: boolean;
typeId: string;
}