start commit for admin system
This commit is contained in:
commit
badb676529
300 changed files with 58634 additions and 0 deletions
32
src/interface/response/dashboard/dashboard.ts
Normal file
32
src/interface/response/dashboard/dashboard.ts
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
interface attachments {
|
||||
name: string;
|
||||
url: string;
|
||||
}
|
||||
interface ResponseInbox {
|
||||
body: string;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
id: string;
|
||||
isOpen: boolean;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: Date;
|
||||
openDate: Date | null;
|
||||
payload: { attachments: attachments[] };
|
||||
receiveDate: Date;
|
||||
receiverUserId: string;
|
||||
subject: string;
|
||||
}
|
||||
|
||||
interface DataInbox {
|
||||
no: string;
|
||||
sender: string;
|
||||
subject: string;
|
||||
timereceive: Date;
|
||||
body: string;
|
||||
payload: { attachments: attachments[] };
|
||||
ratingModel: number;
|
||||
isOpen: boolean;
|
||||
}
|
||||
|
||||
export type { ResponseInbox, DataInbox };
|
||||
16
src/interface/response/listPerson.ts
Normal file
16
src/interface/response/listPerson.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
interface ResponsePreson {
|
||||
personId: string; //id อ้างอิง profile
|
||||
idcard: string; //เลขประจำตัวประชาชน
|
||||
prefix: string; //คำนำหน้า
|
||||
firstName: string; //ชื่อ
|
||||
lastName: string; //นามสกุล
|
||||
posNo: string; //เลขที่ตำแหน่ง
|
||||
position: string; //ตำแหน่ง
|
||||
positionLevel: string; //ระดับ
|
||||
salaries: number; //เงินเดือน
|
||||
organization: string; //สังกัด
|
||||
email: string; //อีเมล
|
||||
phone: string; //เบอร์โทรศัพท์
|
||||
}
|
||||
|
||||
export type { ResponsePreson };
|
||||
14
src/interface/response/manage/prefix.ts
Normal file
14
src/interface/response/manage/prefix.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
//ข้อมูล คำนำหน้าชื่อ
|
||||
interface ResponsePrefixHistoryObject {
|
||||
createdAt?: Date;
|
||||
createdFullName: String;
|
||||
createdUserId: String;
|
||||
id: String;
|
||||
isActive: Boolean;
|
||||
lastUpdateFullName: String;
|
||||
lastUpdateUserId: String;
|
||||
lastUpdatedAt?: Date;
|
||||
name: String;
|
||||
}
|
||||
|
||||
export type { ResponsePrefixHistoryObject };
|
||||
Loading…
Add table
Add a link
Reference in a new issue