init commit
This commit is contained in:
19
server/web/app/models/channel.go
Normal file
19
server/web/app/models/channel.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Channel 连接认证模型
|
||||
type Channel struct {
|
||||
gorm.Model
|
||||
UserId uint
|
||||
NodeId uint
|
||||
Protocol string
|
||||
Username string
|
||||
Password string
|
||||
AuthIp bool
|
||||
AuthPass bool
|
||||
Expiration time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user