ymanager/webapp/src/app/models/calendar.model.ts @ 484d37b9
1 |
import {Time} from '@angular/common'; |
---|---|
2 |
import {RequestStatus, VacationType} from '../enums/common.enum'; |
3 |
|
4 |
export interface Calendar { |
5 |
id: number; |
6 |
date: string; |
7 |
from: string; |
8 |
to: string; |
9 |
type: VacationType; |
10 |
status: RequestStatus; |
11 |
}
|
12 |
|
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 |
}
|