edit response warehouse

This commit is contained in:
anbuiselly 2022-12-12 14:07:28 +07:00
parent b39948c635
commit aa3a201b18
1 changed files with 15 additions and 13 deletions

View File

@ -129,19 +129,21 @@ type ResponseLatLng struct {
// WarehouseNatsResponse ... // WarehouseNatsResponse ...
type WarehouseNatsResponse struct { type WarehouseNatsResponse struct {
ID string `json:"_id"` ID string `json:"_id"`
Staff string `json:"staff"` Staff string `json:"staff"`
BusinessType string `json:"businessType"` BusinessType string `json:"businessType"`
Name string `json:"name"` Name string `json:"name"`
SearchString string `json:"searchString"` SearchString string `json:"searchString"`
Slug string `json:"slug"` Slug string `json:"slug"`
Status string `json:"status"` Status string `json:"status"`
Supplier string `json:"supplier"` Supplier string `json:"supplier"`
Contact ResponseWarehouseContact `json:"contact"` Contact ResponseWarehouseContact `json:"contact"`
Location ResponseWarehouseLocation `json:"location"` Location ResponseWarehouseLocation `json:"location"`
Configurations WarehouseConfiguration `json:"configurations"` Configurations WarehouseConfiguration `json:"configurations"`
CreatedAt time.Time `json:"createdAt"` CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"` UpdatedAt time.Time `json:"updatedAt"`
IsPendingActive bool `json:"isPendingActive"`
ReasonPendingInactive string `json:"reasonPendingInactive"`
} }
// WarehouseInfo ... // WarehouseInfo ...