Files
novel_server/internal/model/entity/task_logs.go

22 lines
1.5 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// 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:"创建时间"` // 创建时间
}