Renamed staff to employees
This commit is contained in:
27
apps/dafa-web/src/app/data/models/employee.model.ts
Normal file
27
apps/dafa-web/src/app/data/models/employee.model.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { Agency } from '@dafa-models/agency.model';
|
||||
import { Participant } from './participant.model';
|
||||
|
||||
export interface Employee {
|
||||
id: string;
|
||||
employeeId: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
utforandeverksamhet: string;
|
||||
active: boolean;
|
||||
service: string;
|
||||
fullName?: string;
|
||||
}
|
||||
|
||||
export interface EmployeeDetail extends Employee {
|
||||
languages: string[];
|
||||
outOfOffice: {
|
||||
start: Date;
|
||||
end: Date;
|
||||
}[];
|
||||
authorisations: string[];
|
||||
phone: string;
|
||||
email: string;
|
||||
ssn: string;
|
||||
agencies: Agency[];
|
||||
participants: Participant[];
|
||||
}
|
||||
Reference in New Issue
Block a user