Skip to content

Commit

Permalink
COM Katasteradresse: Make all (string) properties explicitly nullable (
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Dec 3, 2024
1 parent 705951a commit d7d4a66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions BO4E/COM/Katasteradresse.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable enable
using System.Text.Json.Serialization;
using BO4E.meta;
using Newtonsoft.Json;
Expand All @@ -14,12 +15,12 @@ public class Katasteradresse : COM
[JsonProperty(PropertyName = "gemarkung_flur")]
[JsonPropertyName("gemarkung_flur")]
[ProtoMember(3)]
public string GemarkungFlur { get; set; }
public string? GemarkungFlur { get; set; }

/// <summary>Das Flurstück mit dem die Liegenschaft (Grundstück) bezeichnet ist.</summary>
[DataCategory(DataCategory.ADDRESS)]
[JsonProperty(PropertyName = "flurstueck")]
[JsonPropertyName("flurstueck")]
[ProtoMember(4)]
public string Flurstueck { get; set; }
public string? Flurstueck { get; set; }
}

0 comments on commit d7d4a66

Please sign in to comment.