models/warehouse.go
@@ -22,6 +22,9 @@ ResupplyWh []*Warehouse `json:"resupplyWh" gorm:"-"` //补给来源仓库 CompanyId int `json:"companyId" gorm:"type:int;not null;comment:公司id"` Company Company `json:"company" gorm:"foreignKey:CompanyId"` Address string `json:"address" gorm:"type:varchar(512);comment:地址"` //地址 InboundTransportation int `json:"inboundTransportation" gorm:"type:int;comment:入向运输"` //入向运输 OutboundTransportation int `json:"outboundTransportation" gorm:"type:int;comment:出库运输"` //出库运输 } WarehouseSearch struct {