mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-04 07:46:31 +08:00
代码生成优化
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package model
|
||||
|
||||
import "x_admin/core"
|
||||
import (
|
||||
"x_admin/core"
|
||||
)
|
||||
|
||||
//MonitorClient 客户端信息实体
|
||||
// MonitorClient 监控-客户端信息实体
|
||||
type MonitorClient struct {
|
||||
Id int `gorm:"primarykey;comment:'uuid'" excel:"name:uuid;"` // uuid
|
||||
|
||||
@@ -24,8 +26,8 @@ type MonitorClient struct {
|
||||
|
||||
Ua string `gorm:"comment:'ua记录'" excel:"name:ua记录;"` // ua记录
|
||||
|
||||
ClientTime core.TsTime `gorm:"comment:'客户端时间'" excel:"name:客户端时间;"` // 客户端时间
|
||||
|
||||
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'" excel:"name:创建时间;"` // 创建时间
|
||||
|
||||
ClientTime core.TsTime `gorm:"comment:'更新时间'" excel:"name:更新时间;"` // 更新时间
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user