59 lines
1.2 KiB
TypeScript
59 lines
1.2 KiB
TypeScript
interface DataProps {
|
|
row: RequestItemsObject;
|
|
rowIndex: number;
|
|
}
|
|
|
|
//ข้อมูล
|
|
interface RequestItemsObject {
|
|
birthDate: Date | null;
|
|
bloodGroupId: string | null;
|
|
citizenId: string | null;
|
|
firstName: string | null;
|
|
genderId: string | null;
|
|
lastName: string | null;
|
|
nationality: string | null;
|
|
prefixId: string | null;
|
|
race: string | null;
|
|
relationshipId: string | null;
|
|
religionId: string | null;
|
|
telephoneNumber: string | null;
|
|
employeeType: string | null;
|
|
employeeClass: string | null;
|
|
}
|
|
|
|
interface RequestItemsHistoryObject {
|
|
citizenId: string | null;
|
|
prefix: string | null;
|
|
firstName: string | null;
|
|
lastName: string | null;
|
|
birthDate: Date;
|
|
gender: string | null;
|
|
relationship: string | null;
|
|
bloodGroup: string | null;
|
|
nationality: string | null;
|
|
race: string | null;
|
|
religion: string | null;
|
|
telephoneNumber: string | null;
|
|
createdFullName: string | null;
|
|
createdAt: Date;
|
|
employeeType: string | null;
|
|
employeeClass: string | null;
|
|
}
|
|
|
|
//columns
|
|
interface Columns {
|
|
name: String;
|
|
align: String;
|
|
label: String;
|
|
sortable: Boolean;
|
|
field: String;
|
|
headerStyle: String;
|
|
style: String;
|
|
}
|
|
|
|
export type {
|
|
RequestItemsObject,
|
|
Columns,
|
|
DataProps,
|
|
RequestItemsHistoryObject,
|
|
};
|