创建用户任务奖励记录表

This commit is contained in:
2025-06-26 09:37:33 +08:00
parent ecee39efff
commit 3ae9f96045
31 changed files with 386 additions and 304 deletions

View File

@ -0,0 +1,23 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// UserTaskRewards is the golang structure for table user_task_rewards.
type UserTaskRewards struct {
Id int64 `json:"id" orm:"id" description:"用户任务奖励记录唯一标识符"` // 用户任务奖励记录唯一标识符
UserTaskId int64 `json:"userTaskId" orm:"user_task_id" description:"关联用户任务记录ID"` // 关联用户任务记录ID
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
RewardName string `json:"rewardName" orm:"reward_name" description:"奖励名称冗余字段"` // 奖励名称冗余字段
Status int `json:"status" orm:"status" description:"状态1=待完成2=待领取3=已领取4=待兑换5=已完成6=已过期7=发放失败"` // 状态1=待完成2=待领取3=已领取4=待兑换5=已完成6=已过期7=发放失败
Remark string `json:"remark" orm:"remark" description:"备注或失败原因"` // 备注或失败原因
ExternalOrderId string `json:"externalOrderId" orm:"external_order_id" description:"第三方发放平台的订单ID"` // 第三方发放平台的订单ID
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:"软删除时间"` // 软删除时间
}