Endpoint to add a verspakket

This commit is contained in:
moarten
2026-04-17 22:02:25 +02:00
parent 0acc9a1f8e
commit a10bcfa1d6
17 changed files with 121 additions and 16 deletions

View File

@@ -2,6 +2,8 @@
{
public record Supermarkt
{
public required Guid Id { get; init; }
public required string Naam { get; init; }
}
}

View File

@@ -3,7 +3,10 @@
public class Beoordeling
{
public required int CijferSmaak { get; init; }
public required int CijferBereiden { get; init; }
public required bool Aanbevolen { get; init; }
public string? Tekst { get; init; }
}

View File

@@ -4,9 +4,14 @@ namespace Lutra.Application.Models.Verspakketten
{
public record Verspakket
{
public required Guid Id { get; init; }
public required string Naam { get; init; }
public int? PrijsInCenten { get; init; }
public Beoordeling[]? Beoordelingen { get; init; }
public Supermarkt? Supermarkt { get; init; }
}
}