package database // Entrypoint represents an inbound URL endpoint that feeds into a webhook type Entrypoint struct { BaseModel WebhookID string `gorm:"type:uuid;not null" json:"webhookId"` // Path is the URL path for this entrypoint. Path string `gorm:"uniqueIndex;not null" json:"path"` Description string `json:"description"` Active bool `gorm:"default:true" json:"active"` // Relations Webhook Webhook `json:"webhook,omitzero"` }