29 lines
1.2 KiB
Go
29 lines
1.2 KiB
Go
package pointwithdrawalconfig
|
|
|
|
type itemDTO struct {
|
|
AppCode string `json:"appCode"`
|
|
SellerUserID string `json:"sellerUserId"`
|
|
DisplayUserID string `json:"displayUserId"`
|
|
Nickname string `json:"nickname"`
|
|
Avatar string `json:"avatar"`
|
|
CountryName string `json:"countryName"`
|
|
SortOrder int `json:"sortOrder"`
|
|
PointAmount int64 `json:"pointAmount"`
|
|
SellerCoinAmount int64 `json:"sellerCoinAmount"`
|
|
ServiceRegionIDs []int64 `json:"serviceRegionIds"`
|
|
ServiceCountryCodes []string `json:"serviceCountryCodes"`
|
|
Status string `json:"status"`
|
|
CreatedAtMS int64 `json:"createdAtMs"`
|
|
UpdatedAtMS int64 `json:"updatedAtMs"`
|
|
}
|
|
|
|
type upsertRequest struct {
|
|
SellerUserID int64 `json:"sellerUserId" binding:"required"`
|
|
SortOrder int `json:"sortOrder"`
|
|
PointAmount int64 `json:"pointAmount" binding:"required"`
|
|
SellerCoinAmount int64 `json:"sellerCoinAmount" binding:"required"`
|
|
ServiceRegionIDs []int64 `json:"serviceRegionIds"`
|
|
ServiceCountryCodes []string `json:"serviceCountryCodes"`
|
|
Status string `json:"status"`
|
|
}
|