生成表结构、
This commit is contained in:
25
internal/model/do/user_task_records.go
Normal file
25
internal/model/do/user_task_records.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"
|
||||
)
|
||||
|
||||
// UserTaskRecords is the golang structure of table user_task_records for DAO operations like Where/Data.
|
||||
type UserTaskRecords struct {
|
||||
g.Meta `orm:"table:user_task_records, do:true"`
|
||||
Id interface{} // 任务记录ID
|
||||
UserId interface{} // 用户ID
|
||||
TaskId interface{} // 任务ID
|
||||
Status interface{} // 任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励
|
||||
Progress interface{} // 任务进度
|
||||
FinishedAt *gtime.Time // 完成时间
|
||||
RewardReceivedAt *gtime.Time // 领取奖励时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user