初始化v1
This commit is contained in:
21
internal/model/entity/admin_log.go
Normal file
21
internal/model/entity/admin_log.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AdminLog is the golang structure for table nl_admin_log.
|
||||
type AdminLog struct {
|
||||
Id uint `json:"id" orm:"id" description:"日志ID"`
|
||||
AdminId int `json:"admin_id" orm:"admin_id" description:"管理员ID"`
|
||||
Action string `json:"action" orm:"action" description:"操作动作"`
|
||||
Module string `json:"module" orm:"module" description:"操作模块"`
|
||||
Content string `json:"content" orm:"content" description:"操作内容"`
|
||||
Ip string `json:"ip" orm:"ip" description:"IP地址"`
|
||||
UserAgent string `json:"user_agent" orm:"user_agent" description:"用户代理"`
|
||||
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user