生成奖励相关代码,实现新增门店奖励
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// Admin 管理员信息
|
||||
type Admin struct {
|
||||
g.Meta `orm:"table:admins"`
|
||||
Id int64 `json:"id" orm:"id,primary"` // 管理员ID
|
||||
RoleId int64 `json:"roleId" orm:"role_id,not null"` // 角色ID
|
||||
Username string `json:"username" orm:"username,not null"` // 管理员用户名
|
||||
|
||||
Reference in New Issue
Block a user