ทะเบียนประวัติ: ฝึกอบรมดูงาน interface

This commit is contained in:
oat_dev 2024-03-19 11:05:40 +07:00
parent 56b55c72a0
commit c3260940ea
3 changed files with 83 additions and 42 deletions

View file

@ -0,0 +1,17 @@
interface RequestItemsObject {
name: string,
topic: string,
yearly: number,
place: string,
duration: string,
department: string,
numberOrder: string,
dateOrder: Date,
startDate: Date,
endDate: Date,
startYear: number,
finishYear: number,
}
export type { RequestItemsObject };

View file

@ -0,0 +1,26 @@
//ข้อมูล
interface ResponseObject {
createdAt: Date
createdFullName: string
createdUserId: string
dateOrder: Date
dateStart: Date | null
dateEnd: Date | null
department: string
duration : string
id: string
isActive: boolean
isDate: boolean
lastUpdateFullName: string
lastUpdateUserId: string
lastUpdateAt: Date
name: string
numberOrder: string
place: string
profileId: string
topic: string
yearly: number
}
export type { ResponseObject };