package models import "gorm.io/gorm" // Node 客户端模型 type Node struct { gorm.Model Name string Provider string Location string IPAddress string Channels []Channel `gorm:"foreignKey:NodeId"` }