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