创建用户任务奖励记录表
This commit is contained in:
25
internal/model/do/user_task_rewards.go
Normal file
25
internal/model/do/user_task_rewards.go
Normal file
@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// UserTaskRewards is the golang structure of table user_task_rewards for DAO operations like Where/Data.
|
||||
type UserTaskRewards struct {
|
||||
g.Meta `orm:"table:user_task_rewards, do:true"`
|
||||
Id interface{} // 用户任务奖励记录唯一标识符
|
||||
UserTaskId interface{} // 关联用户任务记录ID
|
||||
RewardId interface{} // 奖励ID
|
||||
RewardName interface{} // 奖励名称冗余字段
|
||||
Status interface{} // 状态:1=待完成,2=待领取,3=已领取,4=待兑换,5=已完成,6=已过期,7=发放失败
|
||||
Remark interface{} // 备注或失败原因
|
||||
ExternalOrderId interface{} // 第三方发放平台的订单ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user