ymanager/webapp/src/app/days-off-info/days-off-info.component.ts @ 9c7b1b63
1 |
import { Component, Input } from '@angular/core'; |
---|---|
2 |
import {TimeUnit} from "../enums/common.enum"; |
3 |
|
4 |
@Component({ |
5 |
selector: 'app-days-off-info', |
6 |
templateUrl: './days-off-info.component.html', |
7 |
styleUrls: ['./days-off-info.component.sass'] |
8 |
})
|
9 |
export class DaysOffInfoComponent { |
10 |
|
11 |
@Input() sickDaysRemaining: { |
12 |
value: number; |
13 |
unit: TimeUnit; |
14 |
};
|
15 |
|
16 |
@Input() extraVacationRemaining: { |
17 |
value: number; |
18 |
unit: TimeUnit; |
19 |
};
|
20 |
|
21 |
constructor() { } |
22 |
}
|