package database // Webhook represents a webhook endpoint that feeds into a processor type Webhook struct { BaseModel ProcessorID string `gorm:"type:uuid;not null" json:"processor_id"` Path string `gorm:"uniqueIndex;not null" json:"path"` // URL path for this webhook Description string `json:"description"` Active bool `gorm:"default:true" json:"active"` // Relations Processor Processor `json:"processor,omitempty"` }