calendartypes
This commit is contained in:
parent
5c2865a9e5
commit
762a9f2b8e
12 changed files with 523 additions and 11 deletions
11
src/viewmodels/admin/calendar.models.ts
Normal file
11
src/viewmodels/admin/calendar.models.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import type { CalendarTypeViewModel } from "./calendarType.models";
|
||||
|
||||
export interface CalendarViewModel {
|
||||
id: number;
|
||||
date: Date;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
type: CalendarTypeViewModel;
|
||||
}
|
19
src/viewmodels/admin/calendarType.models.ts
Normal file
19
src/viewmodels/admin/calendarType.models.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
export interface CalendarTypeViewModel {
|
||||
id: number;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
}
|
||||
|
||||
export interface CreateCalendarTypeViewModel {
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
}
|
||||
|
||||
export interface UpdateCalendarTypeViewModel {
|
||||
id: number;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue