// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package do import ( "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) // RewardDistributions is the golang structure of table reward_distributions for DAO operations like Where/Data. type RewardDistributions struct { g.Meta `orm:"table:reward_distributions, do:true"` Id interface{} // 奖励下发记录ID UserId interface{} // 接收奖励的用户ID TaskId interface{} // 触发该奖励的任务ID RewardId interface{} // 奖励ID RewardSource interface{} // 奖励来源:1=平台,2=门店 Amount interface{} // 奖励数量 StoreId interface{} // 所属门店ID Status interface{} // 发放状态:0=待发放,1=已发放,2=失败 IssuedAt *gtime.Time // 实际发放时间 Remark interface{} // 备注信息 CreatedAt *gtime.Time // 记录创建时间 UpdatedAt *gtime.Time // 更新时间 DeletedAt *gtime.Time // 软删除时间戳 }