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