38 lines
1.8 KiB
Go
38 lines
1.8 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package do
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/frame/g"
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// Rewards is the golang structure of table rewards for DAO operations like Where/Data.
|
||
type Rewards struct {
|
||
g.Meta `orm:"table:rewards, do:true"`
|
||
Id interface{} // 奖励ID
|
||
StoreId interface{} // 门店ID,系统奖励为NULL
|
||
Name interface{} // 奖励名称
|
||
RewardTypeId interface{} // 奖励类型ID,关联 reward_types 表
|
||
GameId interface{} // 游戏ID
|
||
ImageUrl interface{} // 奖励图片链接
|
||
QqGoodsId interface{} // QQ网吧物品ID
|
||
QqGoodsIdStr interface{} // QQ网吧物品ID字符串
|
||
Status interface{} // 状态:1=启用,2=禁用
|
||
ExpireType interface{} // 过期方式:1=时间段过期,2=领取后过期
|
||
ValidFrom *gtime.Time // 有效期开始时间(expire_type=1时)
|
||
ValidTo *gtime.Time // 有效期结束时间(expire_type=1时)
|
||
ExpireDays interface{} // 领取后多少天过期(expire_type=2时)
|
||
DailyTotalLimit interface{} // 每日发放总限(NULL表示不限制)
|
||
TotalLimit interface{} // 奖励总限(NULL表示不限制)
|
||
UserDailyLimit interface{} // 用户每日领取限制(NULL表示不限制)
|
||
UserTotalLimit interface{} // 用户领取总次数限制(NULL表示不限制)
|
||
ReceivedNum interface{} // 已领取数量
|
||
GrantQuantity interface{} // 每次发放个数
|
||
CreatedAt *gtime.Time // 创建时间
|
||
UpdatedAt *gtime.Time // 更新时间
|
||
DeletedAt *gtime.Time // 删除时间(软删除)
|
||
}
|