39 lines
3.4 KiB
Go
39 lines
3.4 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// InfraApiAccessLog is the golang structure for table infra_api_access_log.
|
|
type InfraApiAccessLog 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:"用户类型"` // 用户类型
|
|
ApplicationName string `json:"applicationName" orm:"application_name" description:"应用名"` // 应用名
|
|
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方法名"` // 请求方法名
|
|
RequestUrl string `json:"requestUrl" orm:"request_url" description:"请求地址"` // 请求地址
|
|
RequestParams string `json:"requestParams" orm:"request_params" description:"请求参数"` // 请求参数
|
|
ResponseBody string `json:"responseBody" orm:"response_body" description:"响应结果"` // 响应结果
|
|
UserIp string `json:"userIp" orm:"user_ip" description:"用户 IP"` // 用户 IP
|
|
UserAgent string `json:"userAgent" orm:"user_agent" description:"浏览器 UA"` // 浏览器 UA
|
|
OperateModule string `json:"operateModule" orm:"operate_module" description:"操作模块"` // 操作模块
|
|
OperateName string `json:"operateName" orm:"operate_name" description:"操作名"` // 操作名
|
|
OperateType int `json:"operateType" orm:"operate_type" description:"操作分类"` // 操作分类
|
|
BeginTime *gtime.Time `json:"beginTime" orm:"begin_time" description:"开始请求时间"` // 开始请求时间
|
|
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"结束请求时间"` // 结束请求时间
|
|
Duration int `json:"duration" orm:"duration" description:"执行时长"` // 执行时长
|
|
ResultCode int `json:"resultCode" orm:"result_code" description:"结果码"` // 结果码
|
|
ResultMsg string `json:"resultMsg" orm:"result_msg" description:"结果提示"` // 结果提示
|
|
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:"租户编号"` // 租户编号
|
|
}
|