15 lines
560 B
Go
15 lines
560 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
// PointLog 积分流水:变动、原因类型、余额快照。
|
|
type PointLog struct {
|
|
Id int64 `json:"id" orm:"id"`
|
|
UserId int64 `json:"user_id" orm:"user_id"`
|
|
Change int `json:"change" orm:"change"`
|
|
ReasonType int `json:"reason_type" orm:"reason_type"`
|
|
RefId int64 `json:"ref_id" orm:"ref_id"`
|
|
BalanceAfter int `json:"balance_after" orm:"balance_after"`
|
|
CreatedAt *gtime.Time `json:"created_at" orm:"created_at"`
|
|
}
|