mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-10 03:03:43 +08:00
add redeem code function
This commit is contained in:
13
api/store/vo/redeem.go
Normal file
13
api/store/vo/redeem.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package vo
|
||||
|
||||
type Redeem struct {
|
||||
Id uint `json:"id"`
|
||||
UserId uint `json:"user_id"` // 用户 ID
|
||||
Name string `json:"name"`
|
||||
Username string `json:"username"`
|
||||
Power int `json:"power"` // 算力
|
||||
Code string `json:"code"` // 兑换码
|
||||
Enabled bool `json:"enabled"`
|
||||
RedeemedAt int64 `json:"redeemed_at"` // 兑换时间
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user