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 = {
|
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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue