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
@@ -11,16 +11,16 @@ public class KarakterFelszereles2eDto
public string? PajzsId { get; set; }
[JsonPropertyName("fegyverek")]
public IList<FelszerelesIdAndCount> Fegyverek { get; set; }
public IList<FelszerelesIdAndCount> Fegyverek { get; set; } = [];
[JsonPropertyName("viselt")]
public IList<FelszerelesIdAndCount> Viselt { get; set; }
public IList<FelszerelesIdAndCount> Viselt { get; set; } = [];
[JsonPropertyName("cipelt")]
public IList<FelszerelesIdAndCount> Cipelt { get; set; }
public IList<FelszerelesIdAndCount> Cipelt { get; set; } = [];
[JsonPropertyName("aprosagok")]
public IList<FelszerelesIdAndCount> Aprosagok { get; set; }
public IList<FelszerelesIdAndCount> Aprosagok { get; set; } = [];
[JsonPropertyName("at")]
public int AranyTaller { get; set; }