You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
1.1 KiB

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// Prize is the golang structure for table prize.
type Prize struct {
Id uint `json:"id" orm:"id" description:"奖品ID"` // 奖品ID
Name string `json:"name" orm:"name" description:"奖品名称"` // 奖品名称
ImgUrl string `json:"imgUrl" orm:"img_url" description:"奖品图片"` // 奖品图片
Level int `json:"level" orm:"level" description:"奖品等级"` // 奖品等级
Odds float64 `json:"odds" orm:"odds" description:"奖品抽取概率"` // 奖品抽取概率
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"修改时间"` // 修改时间
}