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