feat: add metadata

This commit is contained in:
Methapon Metanipat 2024-10-15 09:45:30 +07:00
parent 3ff4c9d4f4
commit 99632ee0d0

View file

@ -1,5 +1,5 @@
import { CustomerType } from '../customer/types';
import { Status } from '../types';
import { CreatedBy, Status, UpdatedBy } from '../types';
type CustomerBranchRelation = {
customer: {
@ -204,8 +204,10 @@ export type Quotation = {
customerBranch: CustomerBranchRelation;
createdByUserId: string;
createdBy: CreatedBy;
createdAt: string | Date;
updatedByUserId: string;
updatedBy: UpdatedBy;
updatedAt: string | Date;
};
@ -262,8 +264,10 @@ export type QuotationFull = {
createdByUserId: string;
createdAt: string | Date;
createdBy: CreatedBy;
updatedByUserId: string;
updatedAt: string | Date;
updatedBy: UpdatedBy;
};
export type QuotationPayload = {