portal/model/dnslink.go

12 lines
172 B
Go
Raw Permalink Normal View History

2023-08-15 06:11:55 +00:00
package model
import (
"gorm.io/gorm"
)
type Dnslink struct {
gorm.Model
ID uint `gorm:"primaryKey" gorm:"AUTO_INCREMENT"`
Domain string `gorm:"uniqueIndex"`
}