sync data warehouse into service supplier

This commit is contained in:
QuanTT0110 2022-11-08 14:20:05 +07:00
parent 040c867c15
commit b45fb1d19a
2 changed files with 8 additions and 8 deletions

View File

@ -23,14 +23,6 @@ type SupplierRequestPayload struct {
ContractStatus string
}
type SyncSupplierWarehousePayload struct {
Supplier string `json:"supplier"`
Warehouse string `json:"warehouse"`
ProvinceCode int `json:"provinceCode"`
DistrictCode int `json:"districtCode"`
WardCode int `json:"wardCode"`
}
// SupplierCashflowCreatePayload ...
type SupplierCashflowCreatePayload struct {
Supplier string `json:"supplier"`

View File

@ -56,3 +56,11 @@ type SupplierUpdateBalanceRes struct {
type SupplierGetCurrentBalanceRes struct {
CurrentCash float64 `json:"currentCash"`
}
type SyncSupplierWarehousePayload struct {
Supplier string `json:"supplier"`
Warehouse string `json:"warehouse"`
ProvinceCode int `json:"provinceCode"`
DistrictCode int `json:"districtCode"`
WardCode int `json:"wardCode"`
}