Skip to content

Commit

Permalink
feat(rbac): add URI Component Icon into PermissionModule
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Oct 26, 2022
1 parent 37514bf commit bc670f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions authorization/rbac/models/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ type PermissionModule struct {

UniqueID string `gorm:"column:index_permission_module_id;index:,unique" json:"permissionModuleID"`
Name string `gorm:"column:name" json:"name"`
URI string `gorm:"column:uri" json:"uri"`
Component string `gorm:"column:component" json:"component"`
Icon string `gorm:"column:icon" json:"icon"`
Description string `gorm:"column:description" json:"description"`
ParentID *string `gorm:"column:parent_id;index" json:"parentID"`
}
Expand Down

0 comments on commit bc670f8

Please sign in to comment.