hrms-user/src/interface/Main.ts

71 lines
1.8 KiB
TypeScript
Raw Normal View History

interface ProfileData {
rank?: string;
prefix: string;
firstName: string;
lastName: string;
position: string;
posExecutiveName?: string;
posTypeName: string;
posLevelName: string;
posNo: string;
profileId: string;
2025-03-18 13:44:54 +07:00
citizenId?: string;
2025-07-24 11:39:09 +07:00
salary?: number | null;
2025-03-18 13:44:54 +07:00
birthDate?: string;
2025-05-15 11:38:52 +07:00
keycloakId?: string;
org?: string;
dateStart?: string;
dateRetireLaw?: string;
}
interface InformationData {
rank?: string; //ยศ
citizenId: string; //เลขประจำตัวประชาชน
prefix: string;
firstName: string;
lastName: string;
birthDate: Date | null; //วันเกิด
gender: string; //เพศ
relationship: string; //สถานภาพ
nationality: string; //สัญชาติ
ethnicity: string; //เชื้อชาติ
religion: string; //ศาสนา
bloodGroup: string; //หมู่เลือด
phone: string; //เบอร์โทร
email: string;
}
2025-07-24 11:39:09 +07:00
interface DataProfile {
profileId: string | null;
prefix: string;
rank: string;
firstName: string;
lastName: string;
citizenId: string;
position: string;
posMaster: string | null;
posLevelName: string | null;
posLevelRank: string | null;
posLevelId: string | null;
posTypeName: string | null;
posTypeRank: string | null;
posTypeId: string | null;
posExecutiveName: string;
posExecutivePriority: string | null;
posExecutiveId: string | null;
rootId: string | null;
root: string;
child1Id: string | null;
child1: string | null;
child2Id: string | null;
child2: string | null;
child3Id: string | null;
child3: string | null;
child4Id: string | null;
child4: string | null;
node: string | null;
nodeId: string | null;
}
export type { ProfileData, InformationData, DataProfile };