初始化

This commit is contained in:
2026-09-17 14:42:44 +08:00
commit 7c106b69d2
54 changed files with 2521 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package entity
import "github.com/gogf/gf/v2/os/gtime"
// Levels 用户等级(模块权限)
type Levels struct {
Id int64 `json:"id"`
LevelKey string `json:"level_key"`
Name string `json:"name"`
Modules string `json:"modules"` // JSON: ["image","doc"]
Sort int `json:"sort"`
IsEnabled int `json:"is_enabled"`
Remark string `json:"remark"`
CreatedAt *gtime.Time `json:"created_at"`
UpdatedAt *gtime.Time `json:"updated_at"`
}