im 管理后台
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AdminRole is the golang structure for table admin_role.
|
||||
type AdminRole struct {
|
||||
Id int64 `json:"id" orm:"id" description:"角色ID"`
|
||||
Name string `json:"name" orm:"name" description:"角色名称"`
|
||||
Key string `json:"key" orm:"key" description:"角色权限字符串"`
|
||||
DataScope int `json:"dataScope" orm:"data_scope" description:"数据范围"`
|
||||
CustomDept *gjson.Json `json:"customDept" orm:"custom_dept" description:"自定义部门权限"`
|
||||
Pid int64 `json:"pid" orm:"pid" description:"上级角色ID"`
|
||||
Level int `json:"level" orm:"level" description:"关系树等级"`
|
||||
Tree string `json:"tree" orm:"tree" description:"关系树"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
Status int `json:"status" orm:"status" description:"角色状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user