You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
858 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package models
type TBaseMenu struct {
MenuId string `xorm:"not null pk comment('菜单ID') CHAR(36)"`
AppId string `xorm:"not null comment('系统ID') CHAR(36)"`
ParentId string `xorm:"not null default ''-1'' comment('父节点ID') CHAR(36)"`
IdentityId int32 `xorm:"not null comment('身份ID') INT(11)"`
MenuName string `xorm:"not null default '''' comment('菜单名称') VARCHAR(255)"`
MenuCode string `xorm:"not null default '''' comment('菜单编码') index CHAR(6)"`
MenuUrl string `xorm:"not null default '''' comment('菜单的URL') VARCHAR(500)"`
MenuIcon string `xorm:"not null default '''' comment('菜单图标') VARCHAR(500)"`
SortId int32 `xorm:"not null default 1 comment('排序号') INT(11)"`
BUse int32 `xorm:"not null default 1 comment('是否启用 0未启用 1启用') TINYINT(1)"`
}