27 lines
1.1 KiB
Go
27 lines
1.1 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"`
|
|
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"`
|
|
ServiceCountryCodes []string `json:"serviceCountryCodes"`
|
|
Status string `json:"status"`
|
|
}
|