生成表结构、

This commit is contained in:
2025-05-29 16:23:14 +08:00
parent e8a8e36d61
commit ea87bc829e
97 changed files with 3795 additions and 0 deletions

View File

@ -0,0 +1,28 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package do
import (
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gtime"
)
// Admins is the golang structure of table admins for DAO operations like Where/Data.
type Admins struct {
g.Meta `orm:"table:admins, do:true"`
Id interface{} // 管理员ID
Username interface{} // 管理员用户名
PasswordHash interface{} // 密码哈希
RealName interface{} // 真实姓名
Phone interface{} // 手机号
Email interface{} // 邮箱
Role interface{} // 角色1=超级管理员2=运营管理员3=客服管理员4=财务管理员
Status interface{} // 状态1=正常2=禁用
LastLoginAt *gtime.Time // 最后登录时间
LastLoginIp interface{} // 最后登录IP
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
}