// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // SysAuthRule is the golang structure for table sys_auth_rule. type SysAuthRule struct { Id uint `orm:"id,primary" json:"id"` // Pid uint `orm:"pid" json:"pid"` // 父ID Name string `orm:"name,unique" json:"name"` // 规则名称 Title string `orm:"title" json:"title"` // 规则名称 Icon string `orm:"icon" json:"icon"` // 图标 Condition string `orm:"condition" json:"condition"` // 条件 Remark string `orm:"remark" json:"remark"` // 备注 MenuType uint `orm:"menu_type" json:"menuType"` // 类型 0目录 1菜单 2按钮 Weigh int `orm:"weigh" json:"weigh"` // 权重 Status uint `orm:"status" json:"status"` // 状态 AlwaysShow uint `orm:"always_show" json:"alwaysShow"` // 显示状态 Path string `orm:"path" json:"path"` // 路由地址 JumpPath string `orm:"jump_path" json:"jumpPath"` // 跳转路由 Component string `orm:"component" json:"component"` // 组件路径 IsFrame uint `orm:"is_frame" json:"isFrame"` // 是否外链 1是 0否 ModuleType string `orm:"module_type" json:"moduleType"` // 所属模块 ModelId uint `orm:"model_id" json:"modelId"` // 模型ID CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建日期 UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改日期 DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除日期 }