refactor: แก้ type

This commit is contained in:
Net 2024-07-03 17:55:36 +07:00
parent 0651f374ac
commit 2d4ecfebba

View file

@ -21,7 +21,6 @@ export type Customer = {
export type CustomerBranch = {
id: string;
branchNo: number;
legalPersonNo: string;
name: string;
@ -63,6 +62,8 @@ export type CustomerBranch = {
};
export type CustomerBranchCreate = {
code?: string;
branchNo: number;
address: string;
addressEN: string;
provinceId?: string | null;
@ -100,6 +101,7 @@ export type CustomerCreate = {
status?: Status;
image: File | null;
personName: string;
registeredBranchId: string;
};
export type CustomerUpdate = {
@ -111,6 +113,7 @@ export type CustomerUpdate = {
taxNo?: string | null;
image?: File;
personName: string;
registeredBranchId: string;
};
export type BranchAttachmentCreate = {