liuxiaolong
2019-07-05 6a9495ab6d6e6bc0a3a654cdd3b9a8be569edf6d
models/vssLocalSettingTbl.go
@@ -1,15 +1,15 @@
package models
import (
   "time"
)
type VSSLocalSettingTbl struct {
   ID int `json:"ID,omitempty" gorm:"primary_key" `
   ServerIp string `json:"ServerIp,omitempty" example:"SIP服务器IP" gorm:"column:ServerIp"`
   ServerPort int `json:"ServerPort,omitempty" example:"21231" gorm:"column:ServerPort"`
   ServerId string `json:"ServerId,omitempty" example:"SIP服务器Id" gorm:"column:ServerId"`
   UserAuthId string `json:"UserAuthId,omitempty" example:"SIP用户认证ID" gorm:"column:UserAuthId"`
   Password string `json:"Password,omitempty" example:"密码" gorm:"column:Password"`
   UpdateTime time.Time `json:"-" gorm:"column:UpdateTime"`
}
//import (
//   "time"
//)
//
//type VSSLocalSettingTbl struct {
//   ID int `json:"ID,omitempty" gorm:"primary_key" `
//   ServerIp string `json:"ServerIp,omitempty" example:"SIP服务器IP" gorm:"column:ServerIp"`
//   ServerPort int `json:"ServerPort,omitempty" example:"21231" gorm:"column:ServerPort"`
//   ServerId string `json:"ServerId,omitempty" example:"SIP服务器Id" gorm:"column:ServerId"`
//   UserAuthId string `json:"UserAuthId,omitempty" example:"SIP用户认证ID" gorm:"column:UserAuthId"`
//   Password string `json:"Password,omitempty" example:"密码" gorm:"column:Password"`
//   UpdateTime time.Time `json:"-" gorm:"column:UpdateTime"`
//}