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.

12 lines
599 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 Model
type TBaseMenu struct {
MenuId int `xorm:"not null pk autoincr comment('菜单ID') INT(11)"`
MenuName string `xorm:"default 'NULL' comment('菜单名称') VARCHAR(255)"`
MenuUrl string `xorm:"default 'NULL' comment('菜单的URL') VARCHAR(500)"`
MenuIcon string `xorm:"default 'NULL' comment('菜单的图标样式名') VARCHAR(255)"`
ParentId int `xorm:"default NULL comment('上级菜单ID') INT(11)"`
SortId int `xorm:"default NULL comment('排序号') INT(11)"`
BUse int `xorm:"default NULL comment('是否启用 0未启用 1启用') INT(11)"`
}