hrms-mgt/src/modules/04_registry/interface/request/Main.ts

50 lines
1.1 KiB
TypeScript

//ข้อมูล
interface RequestItemsObject {
id: number;
fullname: String;
fullnameOld: String;
avatar: String;
citizenId: String;
oc: String;
position: String;
positionPathSide: String;
numberPosition: String | null;
positionLine: String;
positionType: String;
govAge: number;
positionLevel: String;
positionExecutive: String | null;
positionExecutiveSide: String | null;
refSalary: String;
positionEmployeePosition: String | null;
positionEmployeePositionSide: String | null;
positionEmployeeLevel: String | null;
positionEmployeeGroup: String | null;
dateAppoint: Date | string | null;
dateStart: Date | string | null;
createdAt: Date | string | null;
salaryDate: Date | string | null;
leaveReason: String;
age: String;
amount: String;
insignia: String;
insigniaLast: String;
isLeave: String;
leaveDateOrder: Date | string | null;
isVerified: boolean;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type { RequestItemsObject, Columns };