Projekt

Obecné

Profil

Stáhnout (561 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 41741550 Hung Hoang
import {Time} from '@angular/common';
2
import {RequestStatus, VacationType} from '../enums/common.enum';
3
4
export interface Requests {
5
  vacation: [
6
    {
7
      id: number;
8
      user: {
9
        name: {
10
          first: string;
11
          last: string;
12
        };
13
      };
14
      date: Date;
15
      from: Time;
16
      to: Time;
17
      type: VacationType;
18
      status: RequestStatus;
19
    }
20
  ];
21
  authorization: [
22
    {
23
      id: number;
24
      user: {
25
        name: {
26
          first: string;
27
          last: string;
28
        };
29
      };
30
      date: Date;
31
    }
32
  ];
33
}