创建用户任务奖励记录表

This commit is contained in:
2025-06-26 09:37:33 +08:00
parent ecee39efff
commit 3ae9f96045
31 changed files with 386 additions and 304 deletions

View 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 // 软删除时间
}