Refactor API tags in swagger.yaml to use shortened prefixes
- 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.
This commit is contained in:
15
src/modules/ne_data/model/udm_voip.go
Normal file
15
src/modules/ne_data/model/udm_voip.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// UDMVOIPUser UDMVOIP用户 udm_voip
|
||||
type UDMVOIPUser struct {
|
||||
ID string `json:"id" gorm:"column:id;primaryKey;autoIncrement"` // 主键
|
||||
NeId string `json:"neId" gorm:"column:ne_id"` // UDM网元标识
|
||||
|
||||
UserName string `json:"username" gorm:"column:username"` // 用户名
|
||||
Password string `json:"password" gorm:"column:password"` // 密码
|
||||
}
|
||||
|
||||
// TableName 表名称
|
||||
func (*UDMVOIPUser) TableName() string {
|
||||
return "udm_voip"
|
||||
}
|
||||
Reference in New Issue
Block a user