blob: 4c4223c7d4c3ac21d1f3b42104b264d315c7f1ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package dns
import (
"gorm.io/gorm"
)
type CNAMERecord struct {
gorm.Model
DomainID uint `gorm:"not null;index" json:"domain_id"`
Name string `gorm:"not null" json:"name"`
Target string `gorm:"not null" json:"target"`
TTL uint32 `gorm:"not null;default:1" json:"ttl"`
}
|