hrms-user/src/modules/06_evaluate/interface/evalute.ts

116 lines
2.4 KiB
TypeScript
Raw Normal View History

2024-01-08 14:19:08 +07:00
interface PersonInformation {
assessments: any[];
birthDate: string;
certificates: any[];
educations: EducationForm[];
experience: null | any;
fullName: string;
govAge: string;
isEducationalQft: boolean;
isGovermantServiceHtr: boolean;
isHaveMinPeriodOrHoldPos: boolean;
isHaveProLicense: boolean;
isHaveSpecificQft: boolean;
isMinPeriodOfTenure: boolean;
isOperatingExp: boolean;
oc: string;
posNo: string;
position: string;
positionLevel: string;
prefix: string;
salaries: any[];
salary: string;
trainings: any[];
type: string;
}
2023-12-19 17:04:39 +07:00
interface FormSpec {
isEducationalQft: boolean;
isGovermantServiceHtr: boolean;
isOperatingExp: boolean;
isMinPeriodOfTenure: boolean;
isHaveSpecificQft: boolean;
isHaveProLicense: boolean;
isHaveMinPeriodOrHoldPos: boolean;
[key: string]: any;
2023-12-19 17:04:39 +07:00
}
interface FormCommand {
2023-12-19 17:04:39 +07:00
commanderFullname: string;
commanderPosition: string;
commanderAboveFullname: string;
commanderAbovePosition: string;
author: string;
subject: string;
assignedPosition: string;
}
interface FormCommandRef {
2023-12-19 17:04:39 +07:00
commanderFullname: object | null;
commanderPosition: object | null;
commanderAboveFullname: object | null;
commanderAbovePosition: object | null;
2023-12-20 15:16:49 +07:00
fileEvaluation1: object | null;
fileEvaluation2: object | null;
fileEvaluation3: object | null;
fileEvaluation4: object | null;
fileEvaluation5: object | null;
fileEvaluation6: object | null;
performance: object | null;
performanceOwner: object | null;
[key: string]: any;
}
2023-12-22 16:00:05 +07:00
interface EducationForm {
country: string;
degree: string;
duration: string;
durationYear: number;
educationLevel: string;
endDate: Date;
field: string;
finishDate: Date;
fundName: string;
gpa: string;
institute: string;
isDate: boolean;
isEducation: boolean;
other: string;
startDate: Date;
}
interface CertificatesForm {
certificateNo: string;
certificateType: string;
expireDate: Date;
issueDate: Date;
issuer: string;
}
interface ListMenu {
val: string;
label: string;
}
interface FormRef{
subject: object | null;
author: object | null;
commanderFullname: object | null;
commanderPosition: object | null;
commanderAboveFullname: object | null;
commanderAbovePosition: object | null;
[key: string]: any;
}
2023-12-22 16:00:05 +07:00
export type {
2024-01-08 14:19:08 +07:00
PersonInformation,
2023-12-22 16:00:05 +07:00
FormCommand,
FormCommandRef,
FormSpec,
EducationForm,
CertificatesForm,
ListMenu,
FormRef
2023-12-22 16:00:05 +07:00
};