ปรับ code รายการลา Table
This commit is contained in:
parent
60ddcf5789
commit
9412454760
3 changed files with 68 additions and 132 deletions
21
src/modules/05_leave/interface/response/leave.ts
Normal file
21
src/modules/05_leave/interface/response/leave.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
interface ListLeave {
|
||||
id: string; //*Id การยื่นขอลา
|
||||
leaveTypeName: string; //Name ประเภทการลา
|
||||
leaveTypeId: string; //Id ประเภทการลา
|
||||
fullname: string; //คำนำหน้า ชื่อ นามสกุล คนขอลา
|
||||
dateSendLeave: Date | null; //วันที่ยื่นใบลา
|
||||
status: string; //สถานะการของลา
|
||||
isDelete: boolean; //ขอยกเลิกคำขอลา ถ้าเคยขอแล้วจะเป็น true ไม่เคยเป็น false
|
||||
}
|
||||
|
||||
interface ListLeaveTable {
|
||||
id: string;
|
||||
leaveTypeName: string;
|
||||
leaveTypeId: string;
|
||||
fullname: string;
|
||||
dateSendLeave: string | null;
|
||||
status: string;
|
||||
isDelete: boolean;
|
||||
}
|
||||
|
||||
export type { ListLeave, ListLeaveTable };
|
||||
Loading…
Add table
Add a link
Reference in a new issue