35 lines
666 B
TypeScript
35 lines
666 B
TypeScript
|
|
//ข้อมูล
|
||
|
|
interface RequestItemsObject {
|
||
|
|
id: number;
|
||
|
|
fullname: String;
|
||
|
|
avatar: String;
|
||
|
|
citizenId: String;
|
||
|
|
// oc: String;
|
||
|
|
position: String;
|
||
|
|
numberPosition: String;
|
||
|
|
positionLine: String;
|
||
|
|
positionType: String;
|
||
|
|
govAge: number;
|
||
|
|
positionLevel: String;
|
||
|
|
positionExecutive: String;
|
||
|
|
dateAppoint: Date | null;
|
||
|
|
dateStart: Date | null;
|
||
|
|
createdAt: Date | null;
|
||
|
|
salaryDate: Date | null;
|
||
|
|
}
|
||
|
|
|
||
|
|
//columns
|
||
|
|
interface Columns {
|
||
|
|
[index: number]: {
|
||
|
|
name: String;
|
||
|
|
align: String;
|
||
|
|
label: String;
|
||
|
|
sortable: Boolean;
|
||
|
|
field: String;
|
||
|
|
headerStyle: String;
|
||
|
|
style: String;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
export type { RequestItemsObject, Columns };
|