Offerings: layout (card|banner) op aanbod, max 1 banner, admin-keuze, additief in GET /api/v1/offerings

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 22:57:36 +01:00
co-authored by Claude Sonnet 5.5
parent 60ed9f4bad
commit 69871ad6f4
20 changed files with 395 additions and 13 deletions
@@ -11,5 +11,6 @@ public record UpdateOfferingRequest(
[Required, MaxLength(50)] string CtaLabel,
bool Featured = false,
[MaxLength(130)] string? Slug = null,
Guid? CategoryId = null
Guid? CategoryId = null,
[RegularExpression("^(card|banner)$", ErrorMessage = "Layout must be 'card' or 'banner'.")] string? Layout = null
);