feat: update schema

This commit is contained in:
Methapon2001 2024-06-10 14:12:10 +07:00
parent a8d0d7f45c
commit e96a05e3ad
5 changed files with 87 additions and 12 deletions

View file

@ -86,8 +86,15 @@ type EmployeeCreate = {
employeeOtherInfo: {
citizenId: string;
fatherFullName: string;
motherFullName: string;
fatherFirstName: string;
fatherLastName: string;
motherFirstName: string;
motherLastName: string;
fatherFirstNameEN: string;
fatherLastNameEN: string;
motherFirstNameEN: string;
motherLastNameEN: string;
birthPlace: string;
};
};
@ -150,8 +157,15 @@ type EmployeeUpdate = {
employeeOtherInfo: {
citizenId: string;
fatherFullName: string;
motherFullName: string;
fatherFirstName: string;
fatherLastName: string;
motherFirstName: string;
motherLastName: string;
fatherFirstNameEN: string;
fatherLastNameEN: string;
motherFirstNameEN: string;
motherLastNameEN: string;
birthPlace: string;
};
};

View file

@ -21,15 +21,29 @@ import { RequestWithUser } from "../interfaces/user";
type EmployeeOtherInfoCreate = {
citizenId: string;
fatherFullName: string;
motherFullName: string;
fatherFirstName: string;
fatherLastName: string;
motherFirstName: string;
motherLastName: string;
fatherFirstNameEN: string;
fatherLastNameEN: string;
motherFirstNameEN: string;
motherLastNameEN: string;
birthPlace: string;
};
type EmployeeOtherInfoUpdate = {
citizenId: string;
fatherFullName: string;
motherFullName: string;
fatherFirstName: string;
fatherLastName: string;
motherFirstName: string;
motherLastName: string;
fatherFirstNameEN: string;
fatherLastNameEN: string;
motherFirstNameEN: string;
motherLastNameEN: string;
birthPlace: string;
};