实现奖励类型的增删改查
This commit is contained in:
24
internal/model/do/store_task_rewards.go
Normal file
24
internal/model/do/store_task_rewards.go
Normal file
@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// 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{} // 任务奖励关联ID
|
||||
TaskId interface{} // 门店任务ID
|
||||
RewardId interface{} // 奖励ID
|
||||
StoreId interface{} // 门店ID
|
||||
Quantity interface{} // 奖励数量(如发放多少个奖励)
|
||||
Status interface{} // 状态:1=正常,0=禁用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user