mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-07 17:11:05 +08:00
重要:更新TsTime,excel2导出不使用tag
This commit is contained in:
@@ -8,20 +8,20 @@ import (
|
||||
|
||||
// MonitorProject 错误项目实体
|
||||
type MonitorProject struct {
|
||||
Id int `gorm:"primarykey;comment:'项目id'" excel:"name:项目id;"` // 项目id
|
||||
Id int `gorm:"primarykey;comment:'项目id'"` // 项目id
|
||||
|
||||
ProjectKey string `gorm:"comment:'项目uuid'" excel:"name:项目uuid;"` // 项目uuid
|
||||
ProjectKey string `gorm:"comment:'项目uuid'"` // 项目uuid
|
||||
|
||||
ProjectName string `gorm:"comment:'项目名称'" excel:"name:项目名称;"` // 项目名称
|
||||
ProjectName string `gorm:"comment:'项目名称'"` // 项目名称
|
||||
|
||||
ProjectType string `gorm:"comment:'项目类型go java web node php 等'" excel:"name:项目类型"` // 项目类型go java web node php 等
|
||||
ProjectType string `gorm:"comment:'项目类型go java web node php 等'"` // 项目类型go java web node php 等
|
||||
|
||||
IsDelete soft_delete.DeletedAt `gorm:"not null;default:0;softDelete:flag,DeletedAtField:DeleteTime;comment:'是否删除: 0=否, 1=是'"`
|
||||
|
||||
UpdateTime core.TsTime `gorm:"autoUpdateTime;comment:'更新时间'" excel:"name:更新时间;"` // 更新时间
|
||||
UpdateTime core.TsTime `gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
|
||||
|
||||
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'" excel:"name:创建时间;"` // 创建时间
|
||||
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
|
||||
|
||||
DeleteTime core.TsTime `gorm:"default:null;comment:'删除时间'" excel:"name:删除时间;"` // 删除时间
|
||||
DeleteTime core.TsTime `gorm:"default:null;comment:'删除时间'"` // 删除时间
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user