书籍列表接口新增参数
This commit is contained in:
22
internal/model/entity/tasks.go
Normal file
22
internal/model/entity/tasks.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Tasks is the golang structure for table tasks.
|
||||
type Tasks struct {
|
||||
Id int64 `json:"id" orm:"id" description:"任务ID"` // 任务ID
|
||||
TaskType int `json:"taskType" orm:"task_type" description:"任务类型:1=首次登录,2=广告,3=发布书籍"` // 任务类型:1=首次登录,2=广告,3=发布书籍
|
||||
Title string `json:"title" orm:"title" description:"任务标题"` // 任务标题
|
||||
Description string `json:"description" orm:"description" description:"任务描述"` // 任务描述
|
||||
RewardPoints uint `json:"rewardPoints" orm:"reward_points" description:"完成任务奖励的积分数"` // 完成任务奖励的积分数
|
||||
Status int `json:"status" orm:"status" description:"状态:1=启用,2=禁用"` // 状态:1=启用,2=禁用
|
||||
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:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user