初始化v1

This commit is contained in:
2025-08-03 00:11:15 +08:00
commit b88c8b8afa
171 changed files with 22353 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package entity
// Role 角色实体
type Role struct {
Id int `json:"id" orm:"id,primary"` // 角色ID
Name string `json:"name" orm:"name"` // 角色名称
Slug string `json:"slug" orm:"slug"` // 角色标识
Description string `json:"description" orm:"description"` // 角色描述
Level int `json:"level" orm:"level"` // 角色等级
IsSystem int `json:"is_system" orm:"is_system"` // 是否系统角色:0-否,1-是
Sort int `json:"sort" orm:"sort"` // 排序
Status int `json:"status" orm:"status"` // 状态:1-启用,0-禁用
CreatedAt string `json:"created_at" orm:"created_at"` // 创建时间
UpdatedAt string `json:"updated_at" orm:"updated_at"` // 更新时间
DeletedAt string `json:"deleted_at" orm:"deleted_at"` // 删除时间
}