sys_oper_log.go 1.8 KB

1234567891011121314151617181920212223242526272829
  1. // =================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package model
  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. OperId uint64 `orm:"oper_id,primary" json:"operId"` // 日志主键
  11. Title string `orm:"title" json:"title"` // 模块标题
  12. BusinessType int `orm:"business_type" json:"businessType"` // 业务类型(0其它 1新增 2修改 3删除)
  13. Method string `orm:"method" json:"method"` // 方法名称
  14. RequestMethod string `orm:"request_method" json:"requestMethod"` // 请求方式
  15. OperatorType int `orm:"operator_type" json:"operatorType"` // 操作类别(0其它 1后台用户 2手机端用户)
  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"` // 操作状态(0正常 1异常)
  24. ErrorMsg string `orm:"error_msg" json:"errorMsg"` // 错误消息
  25. OperTime *gtime.Time `orm:"oper_time" json:"operTime"` // 操作时间
  26. }