calender crud operations
This commit is contained in:
parent
e7b8257336
commit
bf701163d6
18 changed files with 703 additions and 0 deletions
11
src/viewmodel/admin/calendar.models.ts
Normal file
11
src/viewmodel/admin/calendar.models.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { CalendarTypeViewModel } from "./calendarType.models";
|
||||
|
||||
export interface CalendarViewModel {
|
||||
id: number;
|
||||
date: Date;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
type: CalendarTypeViewModel;
|
||||
}
|
6
src/viewmodel/admin/calendarType.models.ts
Normal file
6
src/viewmodel/admin/calendarType.models.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export interface CalendarTypeViewModel {
|
||||
id: number;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue