// ================================================================================= // 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:"软删除时间"` // 软删除时间 }