Files
lmk 610b85e3a5 refactor: 从 Beego 迁移到 GoFrame v2
- 替换 Beego 框架为 GoFrame v2
- 重构项目结构: controller/service/dao/middleware 分层
- 替换自定义 crons 包为 gcron
- 模板从 views/ 迁移到 resource/template/
- 配置从 conf/app.conf 迁移到 config.yml
- 数据库从 MySQL 切换为 SQLite (modernc.org/sqlite)
- 移除 agent/ 远程执行器(待后续迁移)
- 移除 crons/ 自定义定时器包
- 静态资源整理到 resource/static/
2026-07-09 11:06:12 +08:00

22 lines
544 B
Go

package entity
// Ban 禁用命令
type Ban struct {
Id int `orm:"id" json:"id"`
Code string `orm:"code" json:"code"`
CreateTime int64 `orm:"create_time" json:"createTime"`
UpdateTime int64 `orm:"update_time" json:"updateTime"`
Status int `orm:"status" json:"status"`
}
// BanCols 字段常量
var BanCols = struct {
Id, Code, CreateTime, UpdateTime, Status string
}{
Id: "id",
Code: "code",
CreateTime: "create_time",
UpdateTime: "update_time",
Status: "status",
}