Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SysUserColumn = struct { Id string Username string Realname string Password string Salt string Sex string Avatar string Status string Deleted string CreatedBy string CreatedTime string UpdatedBy string UpdatedTime string }{ Id: "id", Username: "username", Realname: "realname", Password: "password", Salt: "salt", Sex: "sex", Avatar: "avatar", Status: "status", Deleted: "deleted", CreatedBy: "created_by", CreatedTime: "created_time", UpdatedBy: "updated_by", UpdatedTime: "updated_time", }
Functions ¶
This section is empty.
Types ¶
type SysDict ¶
type SysMenu ¶
type SysPermission ¶
type SysPermission struct { Id int64 // 标识 Name string // 权限名称 Code string // 权限编码 Status string // 权限状态 CreatedBy int64 // 创建人 CreatedAt time.Time // 创建时间 UpdatedBy int64 // 更新人 UpdatedAt time.Time // 更新时间 // contains filtered or unexported fields }
func (SysPermission) TableName ¶
func (SysPermission) TableName() string
type SysRole ¶
type SysUser ¶
type SysUser struct { Id int64 // 标识 Username string // 用户账号 Realname string // 真实姓名 Password string // 密码 Salt string // md5密码盐 Sex int64 // 性别【0:未知,1-男,2-女】 Avatar string // 头像 Status int64 // 状态【0-正常,1-冻结】 DeletedAt sql.NullTime // 删除状态【0-正常,1-已删除】 CreatedBy int64 // 创建人 CreatedAt time.Time // 创建时间 UpdatedBy int64 // 更新人 UpdatedAt time.Time // 更新时间 }
Click to show internal directories.
Click to hide internal directories.