package order_after_reseller_batch

type OrderAfterSaleResellerBatchResponse struct {
	Code  int                              `json:"code"`
	Error string                           `json:"error"`
	Data  *OrderAfterSaleResellerBatchData `json:"data"`
}

type OrderAfterSaleResellerBatchData struct {
	Data    []*OrderAfterSaleResellerBatchBase             `json:"data"`
	ExtData map[string]*OrderAfterSaleResellerBatchExtItem `json:"extraData"`
}

type OrderAfterSaleResellerBatchBase struct {
	OrderType       int            `json:"orderType"`
	OrderNumber     string         `json:"orderNumber"`
	OrderAmount     float64        `json:"orderAmount"`
	OrderPrice      float64        `json:"orderPrice"`
	SignCompany     int            `json:"signCompany"`
	OrderQuantity   int            `json:"orderQuantity"`
	ResellerID      int            `json:"resellerId"`
	ResellerName    string         `json:"resellerName"`
	OurProductID    int            `json:"ourProductId"`
	OurProductTitle string         `json:"ourProductTitle"`
	Account         []string       `json:"account"`
	Platforms       map[int]string `json:"platforms"`
}

type OrderAfterSaleResellerBatchExtItem struct {
	IsExistsAfterSale bool `json:"isExistsAfterSale"`
	SerialCreateTime  int  `json:"createTime"`
}
