refactor: แก้ type
This commit is contained in:
parent
0651f374ac
commit
2d4ecfebba
1 changed files with 4 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue