fix nullable warnings (#49)

* fix nullable warnings

* use collection initalizers
This commit is contained in:
2026-04-05 12:48:25 +02:00
committed by GitHub
parent e8d0b9477c
commit c7c6c626e1
18 changed files with 45 additions and 47 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Kemkas.Web.ViewModels;
public class Szintlepes
{
[JsonPropertyName("osztaly")]
public string Osztaly { get; set; }
public required string Osztaly { get; set; }
[JsonPropertyName("HProll")]
public byte HProll { get; set; }