Files
cas_tt_cloud_backend/app/common/model/service_docking.go
2022-01-20 17:22:05 +08:00

20 lines
441 B
Go

package model
// ServiceDocking 对接信息数据模型
type ServiceDocking struct {
Model
ModelTenant
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
IP string `gorm:"column:ip;type:char(16);default:'';comment:IP地址" json:"ip"`
ModelDeleted
ModelAt
}
func (m *ServiceDocking) TableName() string {
return "service_docking"
}
func NewServiceDocking() *ServiceDocking {
return &ServiceDocking{}
}