init: initial commit

This commit is contained in:
Blizzard
2026-02-06 14:44:06 +08:00
commit 3115b58cb2
133 changed files with 25889 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package system
import "sundynix-go/global"
type Role struct {
global.BaseModel
Name string `gorm:"size:20" json:"name" form:"name"`
Code string `gorm:"size:20" json:"code" form:"code"`
Sort int `json:"sort" form:"sort"`
Menus []*Menu `gorm:"many2many:role_menu;"`
}