26 lines
1.9 KiB
Go
26 lines
1.9 KiB
Go
// =================================================================================
|
||
// 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:"软删除时间戳"` // 软删除时间戳
|
||
}
|