Files
36Wisdom/biz/model/entity/entity_redemption.go
T
2026-08-13 11:58:27 +08:00

16 lines
657 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
// Redemption 兑换记录:孩子 × 奖品,状态流转(1 待领取/2 待发货/3 已发货/4 已取消/5 已领取)。
type Redemption struct {
Id int64 `json:"id" orm:"id"`
UserId int64 `json:"user_id" orm:"user_id"`
PrizeId int64 `json:"prize_id" orm:"prize_id"`
PointsCost int `json:"points_cost" orm:"points_cost"`
Status int `json:"status" orm:"status"`
Code string `json:"code" orm:"code"`
CreatedAt *gtime.Time `json:"created_at" orm:"created_at"`
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at"`
}