Files
novel_server/internal/model/do/user_points_logs.go
2025-07-16 15:16:40 +08:00

23 lines
989 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// 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"
)
// UserPointsLogs is the golang structure of table user_points_logs for DAO operations like Where/Data.
type UserPointsLogs struct {
g.Meta `orm:"table:user_points_logs, do:true"`
Id interface{} // 积分流水ID
UserId interface{} // 用户ID
ChangeType interface{} // 变动类型1=消费(spend), 2=收入(earn)
PointsChange interface{} // 积分变化数,正数增加,负数减少
RelatedOrderId interface{} // 关联ID当change_type=1时为chapter_purchases.id当change_type=2时为advertisement_records.id
Description interface{} // 变动说明
CreatedAt *gtime.Time // 变动时间
}