Files
PandaX/apps/system/entity/role_menu.go
PandaGoAdmin b6a8fe5e1b 代码生成
2022-01-03 19:03:39 +08:00

13 lines
294 B
Go

package entity
type SysRoleMenu struct {
RoleId int64 `gorm:"type:int"`
MenuId int64 `gorm:"type:int"`
RoleName string `gorm:"type:varchar(128)"`
Id int64 `gorm:"primary_key;AUTO_INCREMENT;column:id" json:"id" form:"id"`
}
type MenuPath struct {
Path string `json:"path"`
}