初始化项目框架,完成部分接口开发
This commit is contained in:
22
internal/model/do/user_points_logs.go
Normal file
22
internal/model/do/user_points_logs.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// 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{} // 变动类型,例如 earn、spend、refund 等
|
||||
PointsChange interface{} // 积分变化数,正数增加,负数减少
|
||||
RelatedOrderId interface{} // 关联订单ID
|
||||
Description interface{} // 变动说明
|
||||
CreatedAt *gtime.Time // 变动时间
|
||||
}
|
||||
Reference in New Issue
Block a user