Files
observer/server/biz/model/entity/reward_log.go
T
2026-09-07 10:11:36 +08:00

13 lines
642 B
Go

package entity
import "github.com/gogf/gf/v2/os/gtime"
// RewardLog 标注时长发放流水:日上限 = 自然日求和;只增不改(审计)。
type RewardLog struct {
Id int64 `json:"id" orm:"id" description:"自增主键"`
PhoneNum string `json:"phoneNum" orm:"phone_num" description:"用户手机号"`
Minutes int `json:"minutes" orm:"minutes" description:"本次发放分钟数"`
TaskId int64 `json:"taskId" orm:"task_id" description:"触发发放的任务(0=未知)"`
GrantedAt *gtime.Time `json:"grantedAt" orm:"granted_at" description:"发放时间"`
}