ymanager/webapp/src/app/models/calendar.model.ts @ 484d37b9
1 | 41741550 | Hung Hoang | import {Time} from '@angular/common'; |
---|---|---|---|
2 | import {RequestStatus, VacationType} from '../enums/common.enum'; |
||
3 | |||
4 | export interface Calendar { |
||
5 | 4bcef705 | Hung Hoang | id: number; |
6 | date: string; |
||
7 | 696f3358 | Václav Jirák | from: string; |
8 | to: string; |
||
9 | 41741550 | Hung Hoang | type: VacationType; |
10 | status: RequestStatus; |
||
11 | }
|
||
12 | 4bcef705 | Hung Hoang | |
13 | |||
14 | export interface PostCalendar { |
||
15 | date: string; |
||
16 | from: string; |
||
17 | to: string; |
||
18 | type: VacationType; |
||
19 | }
|
||
20 | |||
21 | export interface CalendarEdit { |
||
22 | id: number; |
||
23 | date: string; |
||
24 | from: string; |
||
25 | to: string; |
||
26 | }
|