package models import "time" type FirewallZone struct { ID int64 `gorm:"primaryKey" json:"id"` Name string `gorm:"column:name;uniqueIndex" json:"name"` Description *string `gorm:"column:description" json:"description,omitempty"` Builtin bool `gorm:"column:builtin" json:"builtin"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` } func (FirewallZone) TableName() string { return "firewall_zones" }