sys_login.go 1.3 KB

12345678910111213141516171819202122
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // SysLogin is the golang structure for table sys_login.
  9. type SysLogin struct {
  10. InfoId int `orm:"info_id,primary" json:"infoId"` // 访问ID
  11. UserName string `orm:"user_name" json:"userName"` // 用户账号
  12. Ipaddr string `orm:"ipaddr" json:"ipaddr"` // 登录IP地址
  13. LoginLocation string `orm:"login_location" json:"loginLocation"` // 登录地点
  14. Browser string `orm:"browser" json:"browser"` // 浏览器类型
  15. Os string `orm:"os" json:"os"` // 操作系统
  16. Status string `orm:"status" json:"status"` // 登录状态(10成功20失败)
  17. Msg string `orm:"msg" json:"msg"` // 提示消息
  18. LoginTime *gtime.Time `orm:"login_time" json:"loginTime"` // 访问时间
  19. }