初始化项目框架,完成部分接口开发
This commit is contained in:
19
internal/model/do/user_points.go
Normal file
19
internal/model/do/user_points.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// UserPoints is the golang structure of table user_points for DAO operations like Where/Data.
|
||||
type UserPoints struct {
|
||||
g.Meta `orm:"table:user_points, do:true"`
|
||||
Id interface{} // 积分账户ID
|
||||
UserId interface{} // 用户ID
|
||||
PointsBalance interface{} // 当前积分余额
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
Reference in New Issue
Block a user