feature/update-warehouse-into-supplier #44

Merged
Ghost merged 8 commits from feature/update-warehouse-into-supplier into master 2022-10-11 07:22:47 +00:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit f731be7b62 - Show all commits

View File

@ -22,3 +22,11 @@ type SupplierRequestPayload struct {
PIC string
ContractStatus string
}
type CreateSupplierWarehousePayload struct {
Supplier string `json:"supplier"`
Warehouse string `json:"warehouse"`
ProvinceCode int `json:"provinceCode"`
DistrictCode int `json:"districtCode"`
WardCode int `json:"wardCode"`
}

View File

@ -120,11 +120,3 @@ type WarehouseNatsResponse struct {
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type CreateSupplierWarehouseResponse struct {
Supplier string `json:"supplier"`
Warehouse string `json:"warehouse"`
ProvinceCode int `json:"provinceCode"`
DistrictCode int `json:"districtCode"`
WardCode int `json:"wardCode"`
}