fix: input type not matched with db
This commit is contained in:
parent
6adc961352
commit
d43ac9f54e
1 changed files with 0 additions and 4 deletions
|
|
@ -32,7 +32,6 @@ function imageLocation(id: string) {
|
||||||
type CustomerBranchCreate = {
|
type CustomerBranchCreate = {
|
||||||
customerId: string;
|
customerId: string;
|
||||||
|
|
||||||
code: string;
|
|
||||||
status?: Status;
|
status?: Status;
|
||||||
|
|
||||||
branchNo: string;
|
branchNo: string;
|
||||||
|
|
@ -56,13 +55,11 @@ type CustomerBranchCreate = {
|
||||||
subDistrictId?: string | null;
|
subDistrictId?: string | null;
|
||||||
districtId?: string | null;
|
districtId?: string | null;
|
||||||
provinceId?: string | null;
|
provinceId?: string | null;
|
||||||
headOfficeId?: string | null;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type CustomerBranchUpdate = {
|
type CustomerBranchUpdate = {
|
||||||
customerId?: string;
|
customerId?: string;
|
||||||
|
|
||||||
code?: string;
|
|
||||||
status?: "ACTIVE" | "INACTIVE";
|
status?: "ACTIVE" | "INACTIVE";
|
||||||
|
|
||||||
branchNo?: string;
|
branchNo?: string;
|
||||||
|
|
@ -86,7 +83,6 @@ type CustomerBranchUpdate = {
|
||||||
subDistrictId?: string | null;
|
subDistrictId?: string | null;
|
||||||
districtId?: string | null;
|
districtId?: string | null;
|
||||||
provinceId?: string | null;
|
provinceId?: string | null;
|
||||||
headOfficeId?: string | null;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@Route("api/customer-branch")
|
@Route("api/customer-branch")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue