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