26 lines
1.2 KiB
Go
26 lines
1.2 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// SysAuthRule is the golang structure for table sys_auth_rule.
|
|
type SysAuthRule struct {
|
|
Id uint `json:"id" description:""`
|
|
Pid uint `json:"pid" description:"父ID"`
|
|
Name string `json:"name" description:"规则名称"`
|
|
Title string `json:"title" description:"规则名称"`
|
|
MenuType uint `json:"menuType" description:"类型 0目录 1菜单 2按钮"`
|
|
Weigh int `json:"weigh" description:"权重"`
|
|
IsHide uint `json:"isHide" description:"显示状态"`
|
|
Path string `json:"path" description:"路由地址"`
|
|
Component string `json:"component" description:"组件路径"`
|
|
CreatedAt *gtime.Time `json:"createdAt" description:"创建日期"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改日期"`
|
|
IdAdmin int `json:"idAdmin" description:"是否管理员独享 1是2.否"`
|
|
}
|
