Skip to content

Commit

Permalink
Make MarktlokationsId in BO Marktlokation Optional / Nullable (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Apr 5, 2024
1 parent 9bf4b15 commit d0a3d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BO4E/BO/Marktlokation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public class Marktlokation : BusinessObject
/// verbraucht, oder erzeugt wird
/// </summary>
[DefaultValue("|null|")]
[JsonProperty(Required = Required.Always, Order = 10, PropertyName = "marktlokationsId")]
[JsonProperty(Required = Required.Default, Order = 10, PropertyName = "marktlokationsId")]
[JsonPropertyName("marktlokationsId")]
[JsonPropertyOrder(10)]
[DataCategory(DataCategory.POD)]
[BoKey]
[ProtoMember(4)]
public string MarktlokationsId { get; set; }
public string? MarktlokationsId { get; set; }

/// <summary>Sparte der Messlokation, z.B. Gas oder Strom.</summary>
[JsonProperty(Required = Required.Always, Order = 11, PropertyName = "sparte")]
Expand Down

0 comments on commit d0a3d63

Please sign in to comment.