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 = {
|
||||
status?: Status;
|
||||
|
||||
legalPersonNo: string;
|
||||
|
||||
taxNo?: string | null;
|
||||
name: string;
|
||||
nameEN: string;
|
||||
addressEN: string;
|
||||
address: string;
|
||||
addressEN: string;
|
||||
provinceId?: string | null;
|
||||
districtId?: string | null;
|
||||
subDistrictId?: string | null;
|
||||
zipCode: string;
|
||||
email: string;
|
||||
telephoneNo: string;
|
||||
longitude: string;
|
||||
latitude: string;
|
||||
|
||||
status?: Status;
|
||||
name: string;
|
||||
taxNo?: string | null;
|
||||
nameEN: string;
|
||||
legalPersonNo: string;
|
||||
registerName: string;
|
||||
registerDate: Date | null;
|
||||
authorizedCapital: string;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
provinceId?: string | null;
|
||||
employmentOffice: string;
|
||||
bussinessType: string;
|
||||
bussinessTypeEN: string;
|
||||
jobPosition: string;
|
||||
jobPositionEN: string;
|
||||
jobDescription: string;
|
||||
saleEmployee: string;
|
||||
payDate: string;
|
||||
wageDate: string;
|
||||
file: File;
|
||||
};
|
||||
|
||||
export type CustomerCreate = {
|
||||
status?: Status;
|
||||
customerType: CustomerType;
|
||||
customerName: string;
|
||||
customerNameEN: string;
|
||||
customerBranch?: CustomerBranchCreate[];
|
||||
taxNo?: string | null;
|
||||
customerNameEN: string;
|
||||
customerName: string;
|
||||
customerType: CustomerType;
|
||||
status?: Status;
|
||||
image: File;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue