package models import "time" type ForwardProxyACL struct { ID int64 `gorm:"primaryKey" json:"id"` Name string `gorm:"column:name" json:"name"` ACLType string `gorm:"column:acl_type" json:"acl_type"` Value string `gorm:"column:value" json:"value"` Action string `gorm:"column:action" json:"action"` Priority int `gorm:"column:priority" json:"priority"` Active bool `gorm:"column:active" json:"active"` Comment *string `gorm:"column:comment" json:"comment,omitempty"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` } func (ForwardProxyACL) TableName() string { return "forward_proxy_acls" }