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

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,22 +0,0 @@
package model
import (
"github.com/gogf/gf/v2/frame/g"
"time"
)
type StoreTaskReward struct {
g.Meta `orm:"table:store_task_rewards"`
Id int64 `orm:"id" json:"id"` // 奖励唯一标识符
TaskId int64 `orm:"task_id" json:"task_id"` // 任务ID关联tasks表的id
StoreId string `orm:"store_id" json:"store_id"` // 门店ID
Name string `orm:"name" json:"name"` // 奖励名称
RewardTypeId string `orm:"reward_type_id" json:"reward_type_id"` // 奖励类型ID
TotalNum int32 `orm:"total_num" json:"total_num"` // 奖励总数
UsedNum int32 `orm:"used_num" json:"used_num"` // 已使用数量
LimitNum int32 `orm:"limit_num" json:"limit_num"` // 限制数量
CoverImage string `orm:"cover_image" json:"cover_image"` // 封面图URL
CreatedAt time.Time `orm:"created_at" json:"created_at"` // 创建时间
UpdatedAt time.Time `orm:"updated_at" json:"updated_at"` // 更新时间
DeletedAt time.Time `orm:"deleted_at" json:"deleted_at"` // 软删除时间戳
}