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.
dsMin/dsSso/models/t_base_purview.go

14 lines
869 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 TBasePurview struct {
PurviewId string `xorm:"not null pk comment('权限ID') CHAR(36)"`
PurviewName string `xorm:"not null default '''' comment('权限名称') VARCHAR(255)"`
BusinessCode string `xorm:"not null default '''' comment('业务系统编码') index CHAR(6)"`
PurviewType int32 `xorm:"not null default 1 comment('权限类型 1菜单 2按钮') INT(11)"`
MenuUrl string `xorm:"not null default '''' comment('菜单的URL') VARCHAR(500)"`
MenuIcon string `xorm:"not null default '''' comment('菜单的图标样式名') VARCHAR(255)"`
ParentId string `xorm:"not null default ''-1'' comment('父节点ID') CHAR(36)"`
SortId int32 `xorm:"not null default 1 comment('排序号') INT(11)"`
BUse int32 `xorm:"not null default 1 comment('是否启用 0未启用 1启用') TINYINT(1)"`
}