2023-06-28 11:15:22 +07:00
|
|
|
import type { zipCodeOption } from "../../components/PersonalDetail/profileType";
|
2023-06-08 14:31:25 +07:00
|
|
|
interface DataOption {
|
2023-07-10 09:03:56 +07:00
|
|
|
id: number|null;
|
|
|
|
|
name:string|null;
|
|
|
|
|
disable?: boolean;
|
|
|
|
|
}
|
|
|
|
|
interface DataOption1 {
|
2023-07-05 10:00:36 +07:00
|
|
|
id: string|null;
|
|
|
|
|
name:string|null;
|
2023-06-14 17:47:30 +07:00
|
|
|
disable?: boolean;
|
2023-06-08 14:31:25 +07:00
|
|
|
}
|
2023-06-15 10:41:27 +07:00
|
|
|
interface DataOptionInsignia {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
typeName: string;
|
2023-06-14 17:44:16 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface EduOps {
|
|
|
|
|
levelOptions: DataOption[];
|
|
|
|
|
positionPathOptions: DataOption[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface InformationOps {
|
|
|
|
|
prefixOps: DataOption[];
|
|
|
|
|
genderOps: DataOption[];
|
|
|
|
|
bloodOps: DataOption[];
|
|
|
|
|
statusOps: DataOption[];
|
|
|
|
|
religionOps: DataOption[];
|
|
|
|
|
employeeClassOps: DataOption[];
|
|
|
|
|
employeeTypeOps: DataOption[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface AddressOps {
|
|
|
|
|
provinceOps: DataOption[];
|
|
|
|
|
districtOps: DataOption[];
|
|
|
|
|
districtCOps: DataOption[];
|
|
|
|
|
subdistrictOps: zipCodeOption[];
|
|
|
|
|
subdistrictCOps: zipCodeOption[];
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-15 10:41:27 +07:00
|
|
|
interface InsigniaOps {
|
|
|
|
|
insigniaOptions: DataOptionInsignia[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Pagination {
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
}
|
2023-06-14 17:44:16 +07:00
|
|
|
|
2023-06-14 16:54:34 +07:00
|
|
|
interface treeTab {
|
2023-06-14 17:47:30 +07:00
|
|
|
id: string;
|
|
|
|
|
label: string;
|
|
|
|
|
children: treeTab[];
|
|
|
|
|
}
|
2023-06-08 14:31:25 +07:00
|
|
|
|
2023-06-15 16:07:44 +07:00
|
|
|
interface CheckboxItem {
|
|
|
|
|
id: number;
|
|
|
|
|
label: string;
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-13 09:10:43 +07:00
|
|
|
interface Property {
|
|
|
|
|
name: string;
|
|
|
|
|
value: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface PointExam {
|
|
|
|
|
pointA: number;
|
|
|
|
|
pointB: number;
|
|
|
|
|
pointC: number;
|
|
|
|
|
pointTotalA: number;
|
|
|
|
|
pointTotalB: number;
|
|
|
|
|
pointTotalC: number;
|
|
|
|
|
point: number;
|
|
|
|
|
pointTotal: number;
|
|
|
|
|
examNumber: number;
|
|
|
|
|
examRound: number;
|
|
|
|
|
pass: string | null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Education {
|
|
|
|
|
id: string;
|
|
|
|
|
educationLevel: string;
|
|
|
|
|
institute: string;
|
|
|
|
|
degree: string;
|
|
|
|
|
field: string;
|
|
|
|
|
gpa: string;
|
|
|
|
|
country: string;
|
|
|
|
|
duration: string;
|
|
|
|
|
other: string;
|
|
|
|
|
fundName: string;
|
|
|
|
|
durationYear: number;
|
|
|
|
|
finishDate: Date;
|
|
|
|
|
isDate: string;
|
|
|
|
|
startDate: number;
|
|
|
|
|
endDate: number;
|
|
|
|
|
positionPath: string;
|
|
|
|
|
isEducation: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Family {
|
|
|
|
|
couple: boolean;
|
|
|
|
|
marryPrefix: string;
|
|
|
|
|
marryPrefixId: string;
|
|
|
|
|
marryFirstName: string;
|
|
|
|
|
marryLastName: string;
|
|
|
|
|
marryOccupation: string;
|
|
|
|
|
fatherPrefix: string;
|
|
|
|
|
fatherPrefixId: string;
|
|
|
|
|
fatherFirstName: string;
|
|
|
|
|
fatherLastName: string;
|
|
|
|
|
fatherOccupation: string;
|
|
|
|
|
motherPrefix: string;
|
|
|
|
|
motherPrefixId: string;
|
|
|
|
|
motherFirstName: string;
|
|
|
|
|
motherLastName: string;
|
|
|
|
|
motherOccupation: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface Address {
|
|
|
|
|
registSubDistrict: string;
|
|
|
|
|
registSubDistrictId: string;
|
|
|
|
|
registZipCode: string;
|
|
|
|
|
registDistrict: string;
|
|
|
|
|
registDistrictId: string;
|
|
|
|
|
registProvince: string;
|
|
|
|
|
registProvinceId: string;
|
|
|
|
|
currentSubDistrict: string;
|
|
|
|
|
currentSubDistrictId: string;
|
|
|
|
|
currentZipCode: string;
|
|
|
|
|
currentDistrict: string;
|
|
|
|
|
currentDistrictId: string;
|
|
|
|
|
currentProvince: string;
|
|
|
|
|
currentProvinceId: string;
|
|
|
|
|
registSame: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-28 11:15:22 +07:00
|
|
|
export type {
|
|
|
|
|
DataOption,
|
|
|
|
|
DataOptionInsignia,
|
|
|
|
|
treeTab,
|
|
|
|
|
InformationOps,
|
|
|
|
|
AddressOps,
|
|
|
|
|
Pagination,
|
|
|
|
|
EduOps,
|
2023-07-10 09:03:56 +07:00
|
|
|
DataOption1,
|
2023-06-15 16:07:44 +07:00
|
|
|
InsigniaOps,
|
2023-06-28 11:15:22 +07:00
|
|
|
CheckboxItem,
|
2023-07-13 09:10:43 +07:00
|
|
|
Property,
|
|
|
|
|
PointExam,
|
|
|
|
|
Education,
|
|
|
|
|
Family,
|
|
|
|
|
Address,
|
2023-06-15 10:41:27 +07:00
|
|
|
};
|