mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
19 lines
252 B
Go
19 lines
252 B
Go
package models
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Proxy struct {
|
|
Model
|
|
Name string
|
|
Address string
|
|
CredentialID uuid.UUID
|
|
Credential Credential
|
|
Devices []Device
|
|
}
|
|
|
|
func (Proxy) TableName() string {
|
|
return "proxies"
|
|
}
|