-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abrechnungsdaten der Netzlokation (#563)
* Abrechnungsdaten der Netzlokation * Enable nullability
- Loading branch information
1 parent
297dd74
commit d5539d7
Showing
5 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using BO4E.ENUM; | ||
using BO4E.meta; | ||
using Newtonsoft.Json; | ||
using ProtoBuf; | ||
|
||
namespace BO4E.COM; | ||
|
||
/// <summary> | ||
/// Abrechnungsdaten der Netzlokation | ||
/// </summary> | ||
[ProtoContract] | ||
[NonOfficial(NonOfficialCategory.REGULATORY_REQUIREMENTS)] | ||
public class Netzlokationsabrechnungsdaten : COM | ||
{ | ||
/// <summary> | ||
/// Artikel oder Gruppen-ArtikelId | ||
/// </summary> | ||
[JsonProperty(PropertyName = "artikelId", Order = 4)] | ||
[JsonPropertyOrder(4)] | ||
[JsonPropertyName("artikelId")] | ||
[ProtoMember(4)] | ||
public string? ArtikelId { get; set; } | ||
|
||
/// <summary> | ||
/// Typ der ArtikelId (Einzel oder Gruppe) | ||
/// </summary> | ||
[JsonProperty(PropertyName = "artikelIdTyp", Order = 5)] | ||
[JsonPropertyName("artikelIdTyp")] | ||
[JsonPropertyOrder(5)] | ||
[ProtoMember(5)] | ||
public ENUM.ArtikelIdTyp? ArtikelIdTyp { get; set; } | ||
|
||
/// <summary> | ||
/// Zahler der Blindarbeit | ||
/// </summary> | ||
[JsonProperty(PropertyName = "blindarbeitszahler", Order = 10)] | ||
[JsonPropertyName("blindarbeitszahler")] | ||
[JsonPropertyOrder(10)] | ||
[ProtoMember(10)] | ||
public Blindarbeitszahler? Blindarbeitszahler { get; set; } | ||
|
||
/// <summary> | ||
/// Findet eine Abrechnung der Blindarbeit statt? | ||
/// </summary> | ||
[JsonProperty(PropertyName = "findetBlindarbeitsAbrechnungStatt", Order = 11)] | ||
[JsonPropertyName("findetBlindarbeitsAbrechnungStatt")] | ||
[JsonPropertyOrder(11)] | ||
[ProtoMember(11)] | ||
public bool? FindetBlindarbeitsAbrechnungStatt { get; set; } | ||
|
||
/// <summary> | ||
/// Ist der Lieferant bereit die Blindarbeit zu zahlen | ||
/// </summary> | ||
[JsonProperty(PropertyName = "lieferantBereitZurZahlungBlindarbeit", Order = 12)] | ||
[JsonPropertyName("lieferantBereitZurZahlungBlindarbeit")] | ||
[JsonPropertyOrder(12)] | ||
[ProtoMember(12)] | ||
public bool? LieferantBereitZurZahlungBlindarbeit { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System.Runtime.Serialization; | ||
using ProtoBuf; | ||
|
||
namespace BO4E.ENUM; | ||
|
||
/// <summary>Zahlung der Blindarbeit</summary> | ||
public enum Blindarbeitszahler | ||
{ | ||
/// <summary>Z10: Kunde</summary> | ||
[ProtoEnum(Name = nameof(Blindarbeitszahler) + "_" + nameof(ANSCHLUSSNEHMER))] | ||
[EnumMember(Value = "ANSCHLUSSNEHMER")] | ||
ANSCHLUSSNEHMER, | ||
|
||
/// <summary>Z11: Lieferant</summary> | ||
[ProtoEnum(Name = nameof(Blindarbeitszahler) + "_" + nameof(LIEFERANT))] | ||
[EnumMember(Value = "LIEFERANT")] | ||
LIEFERANT, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters