Files
arenax-server/internal/model/entity/reward_distributions.go
2025-05-29 16:23:14 +08:00

27 lines
2.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// RewardDistributions is the golang structure for table reward_distributions.
type RewardDistributions struct {
Id int64 `json:"id" orm:"id" description:"奖励下发记录ID"` // 奖励下发记录ID
UserId int64 `json:"userId" orm:"user_id" description:"接收奖励的用户ID"` // 接收奖励的用户ID
TaskId int64 `json:"taskId" orm:"task_id" description:"触发该奖励的任务ID"` // 触发该奖励的任务ID
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
RewardSource int `json:"rewardSource" orm:"reward_source" description:"奖励来源1=平台2=门店"` // 奖励来源1=平台2=门店
Amount int `json:"amount" orm:"amount" description:"奖励数量"` // 奖励数量
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
Status int `json:"status" orm:"status" description:"发放状态0=待发放1=已发放2=失败"` // 发放状态0=待发放1=已发放2=失败
IssuedAt *gtime.Time `json:"issuedAt" orm:"issued_at" description:"实际发放时间"` // 实际发放时间
Remark string `json:"remark" orm:"remark" description:"备注信息"` // 备注信息
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:"软删除时间戳"` // 软删除时间戳
}