27 lines
958 B
Go
27 lines
958 B
Go
// =================================================================================
|
||
// 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
|
||
RoleId interface{} // 角色ID
|
||
Username interface{} // 管理员用户名
|
||
PasswordHash interface{} // 密码哈希
|
||
RealName interface{} // 真实姓名
|
||
Phone interface{} // 手机号
|
||
Email interface{} // 邮箱
|
||
Status interface{} // 状态:1=正常,2=禁用
|
||
CreatedAt *gtime.Time // 创建时间
|
||
UpdatedAt *gtime.Time // 更新时间
|
||
DeletedAt *gtime.Time // 软删除时间戳
|
||
}
|