calendar create and delete
This commit is contained in:
parent
762a9f2b8e
commit
792be3b497
7 changed files with 411 additions and 16 deletions
|
@ -1,11 +1,35 @@
|
|||
import type { CalendarTypeViewModel } from "./calendarType.models";
|
||||
|
||||
export interface CalendarViewModel {
|
||||
id: number;
|
||||
date: Date;
|
||||
id: string;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
location: string;
|
||||
allDay: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
type: CalendarTypeViewModel;
|
||||
}
|
||||
|
||||
export interface CreateCalendarViewModel {
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
location: string;
|
||||
allDay: boolean;
|
||||
typeId: string;
|
||||
}
|
||||
|
||||
export interface UpdateCalendarViewModel {
|
||||
id: string;
|
||||
starttime: Date;
|
||||
endtime: Date;
|
||||
title: string;
|
||||
content: string;
|
||||
location: string;
|
||||
allDay: boolean;
|
||||
typeId: string;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
export interface CalendarTypeViewModel {
|
||||
id: number;
|
||||
id: string;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
|
@ -12,7 +12,7 @@ export interface CreateCalendarTypeViewModel {
|
|||
}
|
||||
|
||||
export interface UpdateCalendarTypeViewModel {
|
||||
id: number;
|
||||
id: string;
|
||||
type: string;
|
||||
nscdr: boolean;
|
||||
color: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue