12345678910111213141516171819202122232425262728293031323334 |
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- // Code generated by gorm.io/gen. DO NOT EDIT.
- package model
- const TableNameAdminMenu = "admin_menu"
- // AdminMenu mapped from table <admin_menu>
- type AdminMenu struct {
- ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
- SystemID int32 `gorm:"column:system_id;not null" json:"system_id"`
- Path string `gorm:"column:path" json:"path"`
- Name string `gorm:"column:name" json:"name"`
- Component string `gorm:"column:component" json:"component"`
- Redirect string `gorm:"column:redirect" json:"redirect"`
- Icon string `gorm:"column:icon" json:"icon"`
- Title string `gorm:"column:title" json:"title"`
- Sort int32 `gorm:"column:sort" json:"sort"`
- IsRoot int32 `gorm:"column:is_root;not null;comment:1 true" json:"is_root"` // 1 true
- ActiveMenu string `gorm:"column:active_menu;not null" json:"active_menu"`
- Hidden int32 `gorm:"column:hidden;not null;comment:1隐藏" json:"hidden"` // 1隐藏
- ParentID int32 `gorm:"column:parent_id" json:"parent_id"`
- Disable int32 `gorm:"column:disable;not null" json:"disable"`
- IsSuper int32 `gorm:"column:is_super;not null;comment:1只有管理员有查看权限" json:"is_super"` // 1只有管理员有查看权限
- LocalShow int32 `gorm:"column:local_show;not null;comment:1只在本地展示" json:"local_show"` // 1只在本地展示
- CreateAt int32 `gorm:"column:create_at" json:"create_at"`
- UpdateAt int32 `gorm:"column:update_at" json:"update_at"`
- }
- // TableName AdminMenu's table name
- func (*AdminMenu) TableName() string {
- return TableNameAdminMenu
- }
|