sys_login.go 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "dashoo.cn/micro/app/model/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // SysLogin is the golang structure for table sys_login.
  10. type SysLogin internal.SysLogin
  11. // Fill with you ideas below.
  12. // LoginLogParams 登录日志写入参数
  13. type LoginLogParams struct {
  14. Status int
  15. Username string
  16. Ip string
  17. UserAgent string
  18. Msg string
  19. Module string
  20. }
  21. // SysLoginLogSearchReq 查询列表请求参数
  22. type SysLoginLogSearchReq struct {
  23. LoginName string `p:"userName"` //登陆名
  24. Status string `p:"status"` //状态
  25. Ipaddr string `p:"ipaddr"` //登录地址
  26. SortName string `p:"orderByColumn"` //排序字段
  27. SortOrder string `p:"isAsc"` //排序方式
  28. LoginLocation string `p:"loginLocation"` //登录地点
  29. request.PageReq
  30. }