- Updated tags from 'network_data' to 'ne_data' for consistency and brevity. - Changed 'network_element' to 'ne' across various endpoints for improved readability. - Adjusted related descriptions in the tags section to reflect the new naming conventions.
24 lines
1.0 KiB
Go
24 lines
1.0 KiB
Go
package model
|
|
|
|
// NeConfigBackup 网元配置文件备份记录 ne_config_backup
|
|
type NeConfigBackup struct {
|
|
ID int64 `json:"id" gorm:"column:id;primaryKey;autoIncrement"`
|
|
NeType string `json:"neType" gorm:"column:ne_type"` // 网元类型
|
|
NeId string `json:"neId" gorm:"column:ne_id"` // 网元ID
|
|
Name string `json:"name" gorm:"column:name"` // 压缩包名称
|
|
Path string `json:"path" gorm:"column:path"` // 压缩包位置
|
|
Remark string `json:"remark" gorm:"column:remark"` // 备注
|
|
CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者
|
|
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
|
|
UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者
|
|
UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间
|
|
|
|
// ====== 非数据库字段属性 ======
|
|
|
|
}
|
|
|
|
// TableName 表名称
|
|
func (*NeConfigBackup) TableName() string {
|
|
return "ne_config_backup"
|
|
}
|