22 lines
1.5 KiB
Go
22 lines
1.5 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// TaskLogs is the golang structure for table task_logs.
|
||
type TaskLogs struct {
|
||
Id int64 `json:"id" orm:"id" description:"任务日志ID"` // 任务日志ID
|
||
TaskId int64 `json:"taskId" orm:"task_id" description:"任务ID,关联 tasks.id"` // 任务ID,关联 tasks.id
|
||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID,关联 users.id"` // 用户ID,关联 users.id
|
||
RewardPoints int `json:"rewardPoints" orm:"reward_points" description:"本次任务获得的积分"` // 本次任务获得的积分
|
||
ActionTime *gtime.Time `json:"actionTime" orm:"action_time" description:"操作时间(如完成时间)"` // 操作时间(如完成时间)
|
||
Status int `json:"status" orm:"status" description:"日志状态:1=有效,2=无效"` // 日志状态:1=有效,2=无效
|
||
Extra string `json:"extra" orm:"extra" description:"扩展信息,例如来源、IP 等"` // 扩展信息,例如来源、IP 等
|
||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||
}
|