Files
arenax-server/internal/model/entity/system_operation_logs.go
2025-05-29 16:23:14 +08:00

34 lines
3.5 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SystemOperationLogs is the golang structure for table system_operation_logs.
type SystemOperationLogs struct {
Id int64 `json:"id" orm:"id" description:"日志ID"` // 日志ID
OperatorType int `json:"operatorType" orm:"operator_type" description:"操作者类型1=系统管理员2=商户管理员3=门店管理员4=普通用户"` // 操作者类型1=系统管理员2=商户管理员3=门店管理员4=普通用户
OperatorId int64 `json:"operatorId" orm:"operator_id" description:"操作者ID"` // 操作者ID
MerchantId int64 `json:"merchantId" orm:"merchant_id" description:"所属商户ID"` // 所属商户ID
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
Module string `json:"module" orm:"module" description:"操作模块"` // 操作模块
Action string `json:"action" orm:"action" description:"操作类型"` // 操作类型
TargetType string `json:"targetType" orm:"target_type" description:"操作对象类型"` // 操作对象类型
TargetId int64 `json:"targetId" orm:"target_id" description:"操作对象ID"` // 操作对象ID
Content string `json:"content" orm:"content" description:"操作内容描述"` // 操作内容描述
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方法"` // 请求方法
RequestUrl string `json:"requestUrl" orm:"request_url" description:"请求URL"` // 请求URL
RequestParams string `json:"requestParams" orm:"request_params" description:"请求参数"` // 请求参数
ResponseCode int `json:"responseCode" orm:"response_code" description:"响应状态码"` // 响应状态码
ResponseMessage string `json:"responseMessage" orm:"response_message" description:"响应信息"` // 响应信息
IpAddress string `json:"ipAddress" orm:"ip_address" description:"操作IP地址"` // 操作IP地址
UserAgent string `json:"userAgent" orm:"user_agent" description:"用户代理信息"` // 用户代理信息
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"操作时间"` // 操作时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
}