package warehouse_getWarehouseByStore_response

import (
	doudian_sdk "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/core"
)

type WarehouseGetWarehouseByStoreResponse struct {
	doudian_sdk.BaseDoudianOpApiResponse
	Data *WarehouseGetWarehouseByStoreData `json:"data"`
}
type WarehouseLocation struct {
	AddressId1   int    `json:"addressId1"`
	AddressId2   int    `json:"addressId2"`
	AddressId3   int    `json:"addressId3"`
	AddressId4   int    `json:"addressId4"`
	AddressName1 string `json:"addressName1"`
	AddressName2 string `json:"addressName2"`
	AddressName3 string `json:"addressName3"`
	AddressName4 string `json:"addressName4"`
}
type WarehouseInfoMapItem struct {
	Latitude          string             `json:"Latitude"`
	Longitude         string             `json:"Longitude"`
	OutFenceIds       []string           `json:"OutFenceIds"`
	AddressDetail     string             `json:"addressDetail"`
	Addresses         []string           `json:"addresses"`
	CreateTime        int                `json:"createTime"`
	Introduction      string             `json:"introduction"`
	Name              string             `json:"name"`
	OutWarehouseId    string             `json:"outWarehouseId"`
	ShopId            int                `json:"shopId"`
	StoreNames        []string           `json:"storeNames"`
	UpdateTime        int                `json:"updateTime"`
	WarehouseId       int64              `json:"warehouseId"`
	WarehouseLocation *WarehouseLocation `json:"warehouseLocation"`
	WarehouseType     int                `json:"warehouseType"`
}
type WarehouseGetWarehouseByStoreData struct {
	// 仓信息map
	WarehouseInfoMap map[string][]*WarehouseInfoMapItem `json:"warehouse_info_map"`
}
