// ================================================================================= // 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 // 变动时间 }