รายการคำสั่ง ==> API
This commit is contained in:
parent
71be6d095f
commit
15b33b147a
14 changed files with 568 additions and 145 deletions
|
|
@ -1,4 +1,25 @@
|
|||
interface ResListCommand {
|
||||
data: {
|
||||
result: {
|
||||
data: DataListCommand[];
|
||||
total: number;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
interface DataListCommand {
|
||||
assignFullName: string;
|
||||
commandAffectDate: null | Date | string;
|
||||
commandExcecuteDate: null | Date | string;
|
||||
commandNo: string;
|
||||
commandYear: number;
|
||||
createdFullName: string;
|
||||
id: string;
|
||||
status: string;
|
||||
issue?: string;
|
||||
}
|
||||
|
||||
interface DataCommandType {
|
||||
category: string;
|
||||
commandCode: string;
|
||||
createdAt: string | Date;
|
||||
|
|
@ -11,4 +32,4 @@ interface DataListCommand {
|
|||
name: string;
|
||||
}
|
||||
|
||||
export type { DataListCommand };
|
||||
export type { ResListCommand, DataListCommand, DataCommandType };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue