初始化项目框架,完成部分接口开发
This commit is contained in:
17
internal/model/entity/user_points.go
Normal file
17
internal/model/entity/user_points.go
Normal file
@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserPoints is the golang structure for table user_points.
|
||||
type UserPoints struct {
|
||||
Id int64 `json:"id" orm:"id" description:"积分账户ID"` // 积分账户ID
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID
|
||||
PointsBalance int `json:"pointsBalance" orm:"points_balance" description:"当前积分余额"` // 当前积分余额
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
}
|
||||
Reference in New Issue
Block a user