refactor: edit type

This commit is contained in:
Thanaphon Frappet 2024-10-10 13:34:38 +07:00
parent ef82393db1
commit 73a45fd5b6

View file

@ -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;
};