Files
proxy/server/web/models/channel.go

21 lines
266 B
Go
Raw Normal View History

2025-02-19 14:23:58 +08:00
package models
import (
"time"
2025-02-25 15:56:33 +08:00
"gorm.io/gorm"
2025-02-19 14:23:58 +08:00
)
// Channel 连接认证模型
type Channel struct {
gorm.Model
UserId uint
NodeId uint
Protocol string
Username string
Password string
AuthIp bool
AuthPass bool
Expiration time.Time
}