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;
|
dateOfBirth: Date;
|
||||||
gender: string;
|
gender: string;
|
||||||
nationality: string;
|
nationality: string;
|
||||||
|
|
||||||
address: string;
|
address: string;
|
||||||
addressEN: string;
|
addressEN?: string;
|
||||||
|
street: string;
|
||||||
|
streetEN?: string;
|
||||||
|
moo?: string;
|
||||||
|
mooEN?: string;
|
||||||
|
soi?: string;
|
||||||
|
soiEN?: string;
|
||||||
provinceId: string;
|
provinceId: string;
|
||||||
districtId: string;
|
districtId: string;
|
||||||
subDistrictId: string;
|
subDistrictId: string;
|
||||||
zipCode: string;
|
|
||||||
passportType: string;
|
passportType: string;
|
||||||
passportNumber: string;
|
passportNumber: string;
|
||||||
passportIssuingCountry: string;
|
passportIssuingCountry: string;
|
||||||
|
|
@ -95,13 +102,17 @@ export type EmployeeCreate = {
|
||||||
middleName?: string;
|
middleName?: string;
|
||||||
middleNameEN?: string;
|
middleNameEN?: string;
|
||||||
|
|
||||||
addressEN: string;
|
|
||||||
address: string;
|
address: string;
|
||||||
zipCode: string;
|
addressEN?: string;
|
||||||
|
street: string;
|
||||||
subDistrictId?: string | null;
|
streetEN?: string;
|
||||||
districtId?: string | null;
|
moo?: string;
|
||||||
provinceId?: string | null;
|
mooEN?: string;
|
||||||
|
soi?: string;
|
||||||
|
soiEN?: string;
|
||||||
|
provinceId: string;
|
||||||
|
districtId: string;
|
||||||
|
subDistrictId: string;
|
||||||
|
|
||||||
employeeCheckup?: EmployeeCheckupCreate[];
|
employeeCheckup?: EmployeeCheckupCreate[];
|
||||||
employeeWork?: EmployeeWorkCreate[];
|
employeeWork?: EmployeeWorkCreate[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue