package v1

import (
	"kami/internal/model/entity"

	"github.com/gogf/gf/v2/frame/g"
)

type TMallGameDataSyncReq struct {
	g.Meta      `path:"/recharge/tMallGame/data/sync" tags:"天猫游戏数据同步" method:"post" summary:"同步订单数据"`
	ChannelName string `json:"channelName" description:"渠道名称" v:"required#渠道名称不能为空"`
	Duration    int    `json:"duration" description:"同步时长" v:"required#同步时长不能为空"`
}

type TMallGameDataSyncRes struct {
	ShopData     []*entity.V1RechargeTMallShop         `json:"shopData"`
	OrderData    []*entity.V1RechargeTMallOrder        `json:"orderData"`
	OrderHistory []*entity.V1RechargeTMallOrderHistory `json:"orderHistory"`
	ShopHistory  []*entity.V1RechargeTMallShopHistory  `json:"shopHistory"`
	AccountData  []*entity.V1RechargeTMallAccount      `json:"accountData"`
}
