ทะเบียนประวัติ: ฝึกอบรมดูงาน interface
This commit is contained in:
parent
56b55c72a0
commit
c3260940ea
3 changed files with 83 additions and 42 deletions
17
src/modules/04_registryNew/interface/request/Training.ts
Normal file
17
src/modules/04_registryNew/interface/request/Training.ts
Normal 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 };
|
||||
|
||||
26
src/modules/04_registryNew/interface/response/Training.ts
Normal file
26
src/modules/04_registryNew/interface/response/Training.ts
Normal 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 };
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue