删除奖励、奖励类型门店奖励相关

This commit is contained in:
2025-06-17 14:26:11 +08:00
parent 00024acea2
commit 047f053d9d
62 changed files with 117 additions and 2260 deletions

View File

@ -1,24 +0,0 @@
// =================================================================================
// 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"
)
// RewardTypes is the golang structure of table reward_types for DAO operations like Where/Data.
type RewardTypes struct {
g.Meta `orm:"table:reward_types, do:true"`
Id interface{} // 类型ID
Name interface{} // 类型名称
Code interface{} // 类型编码
Description interface{} // 类型描述
Status interface{} // 状态1=启用2=禁用
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间
StoreId interface{} // 门店 id
}

View File

@ -1,29 +0,0 @@
// =================================================================================
// 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"
)
// Rewards is the golang structure of table rewards for DAO operations like Where/Data.
type Rewards struct {
g.Meta `orm:"table:rewards, do:true"`
Id interface{} // 奖励唯一标识符
RewardTypeId interface{} // 奖励类型ID
RewardScope interface{} // 奖励范围1=系统奖励2=门店奖励
Name interface{} // 奖励名称
Code interface{} // 奖励编号
Description interface{} // 奖励描述
Status interface{} // 状态1=启用2=禁用
Stock interface{} // 奖励库存0表示无限制
StartAt *gtime.Time // 奖励有效开始时间
ExpireAt *gtime.Time // 奖励有效结束时间
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
RemainStock interface{} // 剩余库存数量
}

View File

@ -1,18 +0,0 @@
// =================================================================================
// 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"
)
// StoreRewards is the golang structure of table store_rewards for DAO operations like Where/Data.
type StoreRewards struct {
g.Meta `orm:"table:store_rewards, do:true"`
StoreId interface{} // 门店ID
RewardId interface{} // 奖励ID
CreatedAt *gtime.Time // 创建时间
}

View File

@ -1,27 +0,0 @@
// =================================================================================
// 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 // 软删除时间戳
}