blob: 0053fe0b35ee9b6d1a39a7e407050e34cc4ac5bf (
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:300" json:"ttl"`
}
|