24 lines
2.0 KiB
Go
24 lines
2.0 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// UserTaskRecords is the golang structure for table user_task_records.
|
||
type UserTaskRecords struct {
|
||
Id int64 `json:"id" orm:"id" description:"任务记录ID"` // 任务记录ID
|
||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
||
TaskId int64 `json:"taskId" orm:"task_id" description:"任务ID"` // 任务ID
|
||
Status int `json:"status" orm:"status" description:"任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励"` // 任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励
|
||
Progress int `json:"progress" orm:"progress" description:"任务进度"` // 任务进度
|
||
FinishedAt *gtime.Time `json:"finishedAt" orm:"finished_at" description:"完成时间"` // 完成时间
|
||
RewardReceivedAt *gtime.Time `json:"rewardReceivedAt" orm:"reward_received_at" description:"领取奖励时间"` // 领取奖励时间
|
||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间"` // 软删除时间
|
||
}
|