新增本地获取任务列表,对接任务列表加入存储数据库功能

This commit is contained in:
chy
2025-06-17 09:06:41 +08:00
parent 76671693a4
commit ba2e44fb21
29 changed files with 592 additions and 144 deletions

View File

@ -0,0 +1,25 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// StoreTaskRewards is the golang structure for table store_task_rewards.
type StoreTaskRewards struct {
Id int64 `json:"id" orm:"id" description:"奖励唯一标识符"` // 奖励唯一标识符
TaskId int64 `json:"taskId" orm:"task_id" description:"任务ID关联tasks表的id"` // 任务ID关联tasks表的id
StoreId string `json:"storeId" orm:"store_id" description:"门店ID"` // 门店ID
Name string `json:"name" orm:"name" description:"奖励名称"` // 奖励名称
RewardTypeId string `json:"rewardTypeId" orm:"reward_type_id" description:"奖励类型ID"` // 奖励类型ID
TotalNum int `json:"totalNum" orm:"total_num" description:"奖励总数"` // 奖励总数
UsedNum int `json:"usedNum" orm:"used_num" description:"已使用数量"` // 已使用数量
LimitNum int `json:"limitNum" orm:"limit_num" description:"限制数量"` // 限制数量
CoverImage string `json:"coverImage" orm:"cover_image" description:"封面图URL"` // 封面图URL
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:"软删除时间戳"` // 软删除时间戳
}