新增本地获取任务列表,对接任务列表加入存储数据库功能
This commit is contained in:
27
internal/model/do/store_task_rewards.go
Normal file
27
internal/model/do/store_task_rewards.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// StoreTaskRewards is the golang structure of table store_task_rewards for DAO operations like Where/Data.
|
||||
type StoreTaskRewards struct {
|
||||
g.Meta `orm:"table:store_task_rewards, do:true"`
|
||||
Id interface{} // 奖励唯一标识符
|
||||
TaskId interface{} // 任务ID,关联tasks表的id
|
||||
StoreId interface{} // 门店ID
|
||||
Name interface{} // 奖励名称
|
||||
RewardTypeId interface{} // 奖励类型ID
|
||||
TotalNum interface{} // 奖励总数
|
||||
UsedNum interface{} // 已使用数量
|
||||
LimitNum interface{} // 限制数量
|
||||
CoverImage interface{} // 封面图URL
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -11,10 +11,15 @@ import (
|
||||
|
||||
// Tasks is the golang structure of table tasks for DAO operations like Where/Data.
|
||||
type Tasks struct {
|
||||
g.Meta `orm:"table:tasks, do:true"`
|
||||
Id interface{} // 任务唯一标识符
|
||||
QqNetbarTaskId interface{} // QQ网吧任务ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
g.Meta `orm:"table:tasks, do:true"`
|
||||
Id interface{} // 任务唯一标识符
|
||||
QqNetbarTaskId interface{} // QQ网吧任务ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
QqNetbarTaskName interface{} // QQ网吧任务名称
|
||||
QqNetbarTaskMemo interface{} // 任务描述
|
||||
QqNetbarTaskRules interface{} // 任务规则
|
||||
GameId interface{} // 游戏唯一id
|
||||
StoreId interface{} // 门店 id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user