refactor: edit type
This commit is contained in:
parent
14bf438cba
commit
2bb76bd866
1 changed files with 19 additions and 8 deletions
|
|
@ -20,12 +20,19 @@ export type Employee = {
|
|||
dateOfBirth: Date;
|
||||
gender: string;
|
||||
nationality: string;
|
||||
|
||||
address: string;
|
||||
addressEN: string;
|
||||
addressEN?: string;
|
||||
street: string;
|
||||
streetEN?: string;
|
||||
moo?: string;
|
||||
mooEN?: string;
|
||||
soi?: string;
|
||||
soiEN?: string;
|
||||
provinceId: string;
|
||||
districtId: string;
|
||||
subDistrictId: string;
|
||||
zipCode: string;
|
||||
|
||||
passportType: string;
|
||||
passportNumber: string;
|
||||
passportIssuingCountry: string;
|
||||
|
|
@ -95,13 +102,17 @@ export type EmployeeCreate = {
|
|||
middleName?: string;
|
||||
middleNameEN?: string;
|
||||
|
||||
addressEN: string;
|
||||
address: string;
|
||||
zipCode: string;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
provinceId?: string | null;
|
||||
addressEN?: string;
|
||||
street: string;
|
||||
streetEN?: string;
|
||||
moo?: string;
|
||||
mooEN?: string;
|
||||
soi?: string;
|
||||
soiEN?: string;
|
||||
provinceId: string;
|
||||
districtId: string;
|
||||
subDistrictId: string;
|
||||
|
||||
employeeCheckup?: EmployeeCheckupCreate[];
|
||||
employeeWork?: EmployeeWorkCreate[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue