blob: 3965e0ee148ad4052c3a8136b6e9995c3f8fe244 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package dns
import (
"gorm.io/gorm"
)
type ARecord 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"`
}
|