Added Aspire
This commit is contained in:
23
Lutra/Lutra.Domain/Entities/Verspakket.cs
Normal file
23
Lutra/Lutra.Domain/Entities/Verspakket.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Lutra.Domain.Entities;
|
||||
|
||||
public class Verspakket : BaseEntity
|
||||
{
|
||||
[MaxLength(50)]
|
||||
public required string Naam { get; set; }
|
||||
|
||||
[Range(1, 100)]
|
||||
public int Cijfer { get; set; }
|
||||
|
||||
[MaxLength(255)]
|
||||
public string? Opmerking { get; set; }
|
||||
|
||||
[Range(1, 10)]
|
||||
public int AantalPersonen { get; set; }
|
||||
|
||||
public required Guid SupermarktId { get; set; }
|
||||
|
||||
public required virtual Supermarkt Supermarkt { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user