Correcting all type and relations in all entities

This commit is contained in:
2025-10-08 00:03:52 +01:00
parent 856d8e2733
commit af92cdc524
9 changed files with 25 additions and 10 deletions

View File

@@ -4,6 +4,9 @@ namespace PyroFetes.Models;
public class ExperienceLevel
{
[Key] public int Id { get; set; }
[Required] public string? Label { get; set; }
[Key] public int Id { get; set; }
[Required, MaxLength(100)] public string? Label { get; set; }
public Staff? Staff { get; set; }
[Required] public int StaffId { get; set; }
}