Files
InfoGenie/infogenie-backend-go/internal/model/site_60s_upstream.go
2026-03-28 20:59:52 +08:00

10 lines
361 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package model
// Site60sUpstream 单例行id=160s API 上游节点,仅管理员可改
type Site60sUpstream struct {
ID uint `gorm:"primaryKey" json:"id"`
SourceID string `gorm:"type:varchar(32);not null;default:self" json:"source_id"` // self | official
}
func (Site60sUpstream) TableName() string { return "site_60s_upstream" }