1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00
thatmattlove-hyperglass/core/models/credential.go
2023-07-24 10:57:09 -04:00

15 lines
216 B
Go

package models
import (
"database/sql"
)
type Credential struct {
Model
Username string
Mode uint `gorm:"default:1"`
Password sql.NullString
Key sql.NullString
Devices []Device
Proxies []Proxy
}