Added endpoints to update verspakketten and add beoordeling. Added some validations and other tweaks

This commit is contained in:
moarten
2026-04-18 20:07:24 +02:00
parent a10bcfa1d6
commit 11bff0de63
23 changed files with 628 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace Lutra.API.Requests;
/// <summary>
/// Represents the data required to add a beoordeling to a verspakket.
/// </summary>
public sealed record AddBeoordelingRequest(
[Range(1, 10)] int CijferSmaak,
[Range(1, 10)] int CijferBereiden,
bool Aanbevolen,
[MaxLength(1024)] string? Tekst);