package dto import "time" type AssetUserListRequest struct { LiveListRequest Keyword string `form:"keyword"` UserID uint `form:"userId"` Enabled *bool `form:"enabled"` StartedAt string `form:"startedAt"` EndedAt string `form:"endedAt"` } type AssetAdjustmentRequest struct { Type string `json:"type" binding:"required"` Amount int64 `json:"amount" binding:"required"` Reason string `json:"reason" binding:"required"` } type AssetOrderRecord struct { OrderNo string `json:"orderNo"` Diamonds int64 `json:"diamonds"` AmountCents int64 `json:"amountCents"` Status string `json:"status"` CreatedAt time.Time `json:"createdAt"` } type AssetSendRecord struct { SerialNo string `json:"serialNo"` RoomName string `json:"roomName"` GiftName string `json:"giftName"` GiftIcon string `json:"giftIcon"` DiamondTotal int64 `json:"diamondTotal"` CreatedAt time.Time `json:"createdAt"` } type AssetUserResponse struct { UserID uint `json:"userId"` Username string `json:"username"` Nickname string `json:"nickname"` Avatar string `json:"avatar"` Enabled bool `json:"enabled"` DiamondBalance int64 `json:"diamondBalance"` TotalRechargeCents int64 `json:"totalRechargeCents"` TotalSpentDiamonds int64 `json:"totalSpentDiamonds"` CreatedAt time.Time `json:"createdAt"` LastLoginAt *time.Time `json:"lastLoginAt"` RecentOrders []AssetOrderRecord `json:"recentOrders,omitempty"` RecentSends []AssetSendRecord `json:"recentSends,omitempty"` }