Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a List of Verwendungszweck instead of one #388

Merged
merged 3 commits into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions BO4E/BO/Berechnungsformel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using BO4E.COM;
using BO4E.ENUM;
Expand Down Expand Up @@ -57,12 +58,12 @@ private DateTime _Beginndatum
public int? RechenschrittId { get; set; }

/// <summary>
/// Verwendungszweck der Werte
/// Liste von Verwendungszweck der Werte
/// </summary>
/// <remarks>UTILTS SG9 CAV 7111</remarks>
[JsonProperty(Required = Required.Always, Order = 8, PropertyName = "verwendungszweck")]
[JsonPropertyName("verwendungszweck")]
public Verwendungszweck Verwendungszweck { get; set; }
[JsonProperty(Required = Required.Always, Order = 8, PropertyName = "verwendungszwecke")]
[JsonPropertyName("verwendungszwecke")]
public List<Verwendungszweck>? Verwendungszwecke { get; set; }

/// <summary>
/// Eine Berechnungsformel enthält, falls sie notwendig ist <see cref="BerechnungsformelNotwendigkeit.BERECHNUNGSFORMEL_NOTWENDIG"/>,
Expand Down
Loading