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 = {
|
||||
customerId: string;
|
||||
|
||||
code: string;
|
||||
status?: Status;
|
||||
|
||||
branchNo: string;
|
||||
|
|
@ -56,13 +55,11 @@ type CustomerBranchCreate = {
|
|||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
provinceId?: string | null;
|
||||
headOfficeId?: string | null;
|
||||
};
|
||||
|
||||
type CustomerBranchUpdate = {
|
||||
customerId?: string;
|
||||
|
||||
code?: string;
|
||||
status?: "ACTIVE" | "INACTIVE";
|
||||
|
||||
branchNo?: string;
|
||||
|
|
@ -86,7 +83,6 @@ type CustomerBranchUpdate = {
|
|||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
provinceId?: string | null;
|
||||
headOfficeId?: string | null;
|
||||
};
|
||||
|
||||
@Route("api/customer-branch")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue