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.

14 lines
497 B

1 month ago
package model
1 month ago
import (
"gofaster/internal/shared/model"
)
1 month ago
type Permission struct {
1 month ago
model.BaseModel
Description string `gorm:"size:200" json:"description"` // 权限描述
BackendRoute string `gorm:"size:200" json:"backend_route"` // 后端路由
FrontendRouteID *uint `gorm:"index" json:"frontend_route_id"` // 前端路由ID
MenuGroupID *uint `gorm:"index" json:"menu_group_id"` // 菜单分组ID
1 month ago
}