package models import "time" type FirewallServiceGroup struct { ID int64 `gorm:"primaryKey" json:"id"` Name string `gorm:"column:name;uniqueIndex" json:"name"` Description *string `gorm:"column:description" json:"description,omitempty"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` MemberIDs []int64 `gorm:"-" json:"member_ids,omitempty"` } func (FirewallServiceGroup) TableName() string { return "firewall_service_groups" }