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
491 B
12 lines
491 B
package models
|
|
|
|
//菜单功能
|
|
type MenuOperation struct {
|
|
OperId int64 `json:"operId" gorm:"primaryKey;column:oper_id;type:bigint(20) unsigned;not null;comment:功能ID"`
|
|
MenuId int64 `json:"menuId" gorm:"column:menu_id;type:bigint(20) unsigned;not null;default:0;comment:菜单id"`
|
|
OperTitle string `json:"operTitle" gorm:"column:oper_title;type:varchar(255);not null;comment:操作名称"`
|
|
}
|
|
|
|
func (MenuOperation *MenuOperation) TableName() string {
|
|
return "menu_operation"
|
|
}
|
|
|