Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyswarnAdd ¶
Types ¶
type User ¶
type User struct { orm.BaseModel ID int64 `json:"id"` UserName string `json:"userName"` Password string `json:"password"` Role int `json:"role"` Denied bool `json:"denied"` Email string `json:"email"` LastErrorLoginTime time.Time `json:"last_error_login_time,int64"` LastErrorLoginTimer int `json:"last_error_login_timer"` CreateTime time.Time `json:"createTime,int64" orm:"auto_now_add"` UpdateTime time.Time `json:"updateTime,int64" orm:"auto_now"` }
func (*User) FilterValue ¶
func (this *User) FilterValue()
type UserContext ¶
type UserContext struct { orm.BaseModel ID int64 `json:"id"` UserId int64 `json:"userId"` UserName string `json:"userName"` Ip string `json:"ip"` Role int `json:"role"` CreateTime time.Time `json:"createTime,int64" orm:"auto_now_add"` UpdateTime time.Time `json:"updateTime,int64" orm:"auto_now"` }
func (*UserContext) TableName ¶
func (this *UserContext) TableName() string
Click to show internal directories.
Click to hide internal directories.