45 lines
No EOL
959 B
TypeScript
45 lines
No EOL
959 B
TypeScript
interface FormFilter {
|
|
page: number;
|
|
pageSize: number;
|
|
keyword: string;
|
|
type: string;
|
|
posType: string;
|
|
posLevel: string;
|
|
retireYear: string | null;
|
|
rangeYear: { min: number; max: number };
|
|
isShowRetire: boolean;
|
|
isProbation: boolean;
|
|
}
|
|
|
|
//ข้อมูล
|
|
interface RequestItemsObject {
|
|
id: string;
|
|
dateStart: Date;
|
|
dateEnd: Date;
|
|
detail: string;
|
|
reference: string;
|
|
refCommandNo: string;
|
|
refCommandDate: Date | null;
|
|
}
|
|
|
|
interface MyObjectRef {
|
|
dateStart:object|null
|
|
dateEnd:object|null
|
|
detail:object|null
|
|
reference:object|null
|
|
[key: string]: any;
|
|
}
|
|
|
|
interface ResponseObject {
|
|
id: string;
|
|
dateStart: Date;
|
|
dateEnd: Date;
|
|
detail: string;
|
|
reference: string;
|
|
refCommandNo: string;
|
|
refCommandDate: Date | null;
|
|
createdFullName: string;
|
|
createdAt: Date;
|
|
}
|
|
|
|
export type{ FormFilter,RequestItemsObject,MyObjectRef,ResponseObject } |