Dtos: Get rid of more warnings

This commit is contained in:
2024-02-29 16:13:46 +01:00
parent e693f83152
commit 247367d1bf
6 changed files with 27 additions and 27 deletions

View File

@ -83,17 +83,17 @@ namespace Elwig.Models.Dtos {
[Column("mgnr")]
public int MgNr { get; set; }
[Column("family_name")]
public string Name { get; set; }
public required string Name { get; set; }
[Column("given_name")]
public string GivenName { get; set; }
public required string GivenName { get; set; }
[Column("address")]
public string Address { get; set; }
public required string Address { get; set; }
[Column("plz")]
public int Plz { get; set; }
[Column("ort")]
public string Locality { get; set; }
public required string Locality { get; set; }
[Column("bucket")]
public string VtrgId { get; set; }
public required string VtrgId { get; set; }
[Column("area")]
public int Area { get; set; }
[Column("min_kg")]