sys_login_log.go 1.3 KB

1234567891011121314151617181920212223
  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. // SysLoginLog is the golang structure for table sys_login_log.
  9. type SysLoginLog struct {
  10. InfoId int64 `orm:"info_id,primary" json:"infoId"` // 访问ID
  11. LoginName string `orm:"login_name" json:"loginName"` // 登录账号
  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 int `orm:"status" json:"status"` // 登录状态(0成功 1失败)
  17. Msg string `orm:"msg" json:"msg"` // 提示消息
  18. LoginTime *gtime.Time `orm:"login_time" json:"loginTime"` // 登录时间
  19. Module string `orm:"module" json:"module"` // 登录模块
  20. }