Merge branch 'refactor-supplier' of git.selly.red:Selly-Modules/natsio into develop

This commit is contained in:
QuanTT0110 2022-11-08 14:54:57 +07:00
commit c95d28870f
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

@ -72,3 +72,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"`
}