first commit

This commit is contained in:
Blizzard
2026-02-27 13:54:01 +08:00
commit fc585fa4df
127 changed files with 18548 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;"`
}