refactor: edit type

This commit is contained in:
Thanaphon Frappet 2024-10-02 14:06:09 +07:00
parent 14bf438cba
commit 2bb76bd866

View file

@ -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[];