ymanager/webapp/src/app/models/user-profile.model.ts @ c40c10c6
1 | 41741550 | Hung Hoang | import {TimeUnit} from '../enums/common.enum'; |
---|---|---|---|
2 | |||
3 | export interface UserProfile { |
||
4 | id: number; |
||
5 | name: { |
||
6 | first: string; |
||
7 | last: string; |
||
8 | };
|
||
9 | photo: string; |
||
10 | settings: { |
||
11 | notification: Date; |
||
12 | };
|
||
13 | vacation: { |
||
14 | value: number; |
||
15 | unit: TimeUnit; |
||
16 | };
|
||
17 | sickDay: { |
||
18 | value: number; |
||
19 | unit: TimeUnit; |
||
20 | };
|
||
21 | }
|