feat: add employee fields (birthDate, education, residence) + emergency contacts
This commit is contained in:
@@ -49,11 +49,27 @@ export interface Employee {
|
||||
loginId: string;
|
||||
name: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
roleCode: RoleCode;
|
||||
empStatus: EmpStatus;
|
||||
dispatchStatus: DispatchStatus;
|
||||
joinedDate: string;
|
||||
leftDate: string | null;
|
||||
birthDate: string | null;
|
||||
education: string | null;
|
||||
major: string | null;
|
||||
graduationDate: string | null;
|
||||
residence: string | null;
|
||||
emergencyContacts?: EmergencyContact[];
|
||||
}
|
||||
|
||||
export interface EmergencyContact {
|
||||
id: number;
|
||||
empId: number;
|
||||
name: string;
|
||||
relation: string | null;
|
||||
phone: string | null;
|
||||
sortOrder: number;
|
||||
}
|
||||
|
||||
export interface EmployeeSearchResult {
|
||||
|
||||
Reference in New Issue
Block a user