fix: แก้ type CustomerBranchCreate ไม่ครบ
This commit is contained in:
parent
0eda152c0c
commit
d02a82f7e1
1 changed files with 24 additions and 19 deletions
|
|
@ -17,36 +17,41 @@ export type Customer = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CustomerBranchCreate = {
|
export type CustomerBranchCreate = {
|
||||||
status?: Status;
|
|
||||||
|
|
||||||
legalPersonNo: string;
|
|
||||||
|
|
||||||
taxNo?: string | null;
|
|
||||||
name: string;
|
|
||||||
nameEN: string;
|
|
||||||
addressEN: string;
|
|
||||||
address: string;
|
address: string;
|
||||||
|
addressEN: string;
|
||||||
|
provinceId?: string | null;
|
||||||
|
districtId?: string | null;
|
||||||
|
subDistrictId?: string | null;
|
||||||
zipCode: string;
|
zipCode: string;
|
||||||
email: string;
|
email: string;
|
||||||
telephoneNo: string;
|
telephoneNo: string;
|
||||||
longitude: string;
|
status?: Status;
|
||||||
latitude: string;
|
name: string;
|
||||||
|
taxNo?: string | null;
|
||||||
|
nameEN: string;
|
||||||
|
legalPersonNo: string;
|
||||||
registerName: string;
|
registerName: string;
|
||||||
registerDate: Date | null;
|
registerDate: Date | null;
|
||||||
authorizedCapital: string;
|
authorizedCapital: string;
|
||||||
|
employmentOffice: string;
|
||||||
subDistrictId?: string | null;
|
bussinessType: string;
|
||||||
districtId?: string | null;
|
bussinessTypeEN: string;
|
||||||
provinceId?: string | null;
|
jobPosition: string;
|
||||||
|
jobPositionEN: string;
|
||||||
|
jobDescription: string;
|
||||||
|
saleEmployee: string;
|
||||||
|
payDate: string;
|
||||||
|
wageDate: string;
|
||||||
|
file: File;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CustomerCreate = {
|
export type CustomerCreate = {
|
||||||
status?: Status;
|
|
||||||
customerType: CustomerType;
|
|
||||||
customerName: string;
|
|
||||||
customerNameEN: string;
|
|
||||||
customerBranch?: CustomerBranchCreate[];
|
customerBranch?: CustomerBranchCreate[];
|
||||||
|
taxNo?: string | null;
|
||||||
|
customerNameEN: string;
|
||||||
|
customerName: string;
|
||||||
|
customerType: CustomerType;
|
||||||
|
status?: Status;
|
||||||
image: File;
|
image: File;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue