refactor: edit type
This commit is contained in:
parent
ef82393db1
commit
73a45fd5b6
1 changed files with 17 additions and 1 deletions
|
|
@ -118,6 +118,7 @@ type ProductRelation = {
|
|||
createdByUserId: string;
|
||||
updatedAt: string;
|
||||
updatedByUserId: string;
|
||||
productGroup?: ProductGroup;
|
||||
};
|
||||
|
||||
type WorkRelation = {
|
||||
|
|
@ -279,7 +280,7 @@ export type QuotationPayload = {
|
|||
contactName: string;
|
||||
workName: string;
|
||||
actorName: string;
|
||||
status: Status;
|
||||
status?: Status;
|
||||
};
|
||||
|
||||
export type EmployeeWorker = {
|
||||
|
|
@ -297,3 +298,18 @@ export type EmployeeWorker = {
|
|||
gender: string;
|
||||
dateOfBirth: Date;
|
||||
};
|
||||
|
||||
export type ProductGroup = {
|
||||
id: string;
|
||||
name: string;
|
||||
code: string;
|
||||
status: Status;
|
||||
statusOrder: number;
|
||||
createdAt: string | Date;
|
||||
createdByUserId: string;
|
||||
updatedAt: string | Date;
|
||||
updatedByUserId: string;
|
||||
detail: string;
|
||||
remark: string;
|
||||
registeredBranchId: string;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue