From bc670f8621fa646e437ed2e2aa7e80237d34f999 Mon Sep 17 00:00:00 2001 From: Matrix-X Date: Wed, 26 Oct 2022 17:34:29 +0800 Subject: [PATCH] feat(rbac): add URI Component Icon into PermissionModule --- authorization/rbac/models/module.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authorization/rbac/models/module.go b/authorization/rbac/models/module.go index cfad0cc..87702bd 100644 --- a/authorization/rbac/models/module.go +++ b/authorization/rbac/models/module.go @@ -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"` }