sys_oper_log.go 2.4 KB

1234567891011121314151617181920212223242526272829
  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. // SysOperLog is the golang structure for table sys_oper_log.
  9. type SysOperLog struct {
  10. Id int `orm:"id,primary" json:"id"` // 日志主键
  11. Title string `orm:"title" json:"title"` // 模块标题
  12. BusinessType int `orm:"business_type" json:"businessType"` // 业务类型(10新增 20修改 30删除40其他)
  13. Method string `orm:"method" json:"method"` // 方法名称
  14. RequestMethod string `orm:"request_method" json:"requestMethod"` // 请求方式
  15. OperatorType string `orm:"operator_type" json:"operatorType"` // 操作类别(10后台用户 20手机端用户30其它)
  16. OperName string `orm:"oper_name" json:"operName"` // 操作人员
  17. DeptName string `orm:"dept_name" json:"deptName"` // 部门名称
  18. OperUrl string `orm:"oper_url" json:"operUrl"` // 请求URL
  19. OperIp string `orm:"oper_ip" json:"operIp"` // 主机地址
  20. OperLocation string `orm:"oper_location" json:"operLocation"` // 操作地点
  21. OperParam string `orm:"oper_param" json:"operParam"` // 请求参数
  22. JsonResult string `orm:"json_result" json:"jsonResult"` // 返回参数
  23. Status int `orm:"status" json:"status"` // 操作状态(10正常20异常)
  24. ErrorMsg string `orm:"error_msg" json:"errorMsg"` // 错误消息
  25. OperTime *gtime.Time `orm:"oper_time" json:"operTime"` // 操作时间
  26. }