33 lines
2.6 KiB
Go
33 lines
2.6 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// SystemOperateLog is the golang structure for table system_operate_log.
|
|
type SystemOperateLog struct {
|
|
Id int64 `json:"id" orm:"id" description:"日志主键"` // 日志主键
|
|
TraceId string `json:"traceId" orm:"trace_id" description:"链路追踪编号"` // 链路追踪编号
|
|
UserId int64 `json:"userId" orm:"user_id" description:"用户编号"` // 用户编号
|
|
UserType int `json:"userType" orm:"user_type" description:"用户类型"` // 用户类型
|
|
Type string `json:"type" orm:"type" description:"操作模块类型"` // 操作模块类型
|
|
SubType string `json:"subType" orm:"sub_type" description:"操作名"` // 操作名
|
|
BizId int64 `json:"bizId" orm:"biz_id" description:"操作数据模块编号"` // 操作数据模块编号
|
|
Action string `json:"action" orm:"action" description:"操作内容"` // 操作内容
|
|
Extra string `json:"extra" orm:"extra" description:"拓展字段"` // 拓展字段
|
|
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方法名"` // 请求方法名
|
|
RequestUrl string `json:"requestUrl" orm:"request_url" description:"请求地址"` // 请求地址
|
|
UserIp string `json:"userIp" orm:"user_ip" description:"用户 IP"` // 用户 IP
|
|
UserAgent string `json:"userAgent" orm:"user_agent" description:"浏览器 UA"` // 浏览器 UA
|
|
Creator string `json:"creator" orm:"creator" description:"创建者"` // 创建者
|
|
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
|
Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者
|
|
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
|
Deleted bool `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除
|
|
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"租户编号"` // 租户编号
|
|
}
|