feat(ui): 增加角色管理,管理员方法新增角色关联

This commit is contained in:
吴汉强
2024-03-13 17:24:30 +08:00
parent c700b32670
commit 6cf91a84ca
8 changed files with 263 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
package model
import "time"
type AdminRole struct {
Id int `gorm:"primarykey;column:id"`
Name string
Description string
CreatedAt time.Time
UpdatedAt time.Time
}