revt: 回退网元软件包类型字段变更

This commit is contained in:
TsMask
2024-05-27 19:02:33 +08:00
parent 83192c3172
commit 57a18656df
6 changed files with 33 additions and 34 deletions

View File

@@ -3,7 +3,7 @@ package model
// NeSoftware 网元软件包 ne_software
type NeSoftware struct {
ID string `json:"id" gorm:"id"`
Type string `json:"type" gorm:"type" binding:"required"` // 类型
NeType string `json:"neType" gorm:"ne_type" binding:"required"` // 网元类型
Name string `json:"name" gorm:"name" binding:"required"` // 包名称
Path string `json:"path" gorm:"path"` // 包路径
Version string `json:"version" gorm:"version" binding:"required"` // 包版本