21 lines
1.5 KiB
Go
21 lines
1.5 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// UserPointsLogs is the golang structure for table user_points_logs.
|
|
type UserPointsLogs struct {
|
|
Id int64 `json:"id" orm:"id" description:"积分流水ID"` // 积分流水ID
|
|
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
|
ChangeType string `json:"changeType" orm:"change_type" description:"变动类型,例如 earn、spend、refund 等"` // 变动类型,例如 earn、spend、refund 等
|
|
PointsChange int `json:"pointsChange" orm:"points_change" description:"积分变化数,正数增加,负数减少"` // 积分变化数,正数增加,负数减少
|
|
RelatedOrderId int64 `json:"relatedOrderId" orm:"related_order_id" description:"关联订单ID"` // 关联订单ID
|
|
Description string `json:"description" orm:"description" description:"变动说明"` // 变动说明
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"变动时间"` // 变动时间
|
|
}
|