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