Skip to content

Commit

Permalink
Add TrancheId property to Einspeisung class (#460)
Browse files Browse the repository at this point in the history
* Add TrancheId property to Einspeisung class

* 🛠️ Refactor naming for clarity
  • Loading branch information
hamidhajiparvaneh authored Jul 29, 2024
1 parent 0b479ad commit 30e5ecb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions BO4E/BO/Einspeisung.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ public class Einspeisung : BusinessObject
[ProtoMember(10)]
[BoKey]
public string? MarktlokationsId { get; set; }

/// <summary>
/// Für welche Tranche gelten diese Einspeisedaten
/// </summary>
[JsonProperty(PropertyName = "trancheId", Required = Required.Default, Order = 101)]
[JsonPropertyName("trancheId")]
[JsonPropertyOrder(101)]
[NonOfficial(NonOfficialCategory.MISSING)]
[ProtoMember(101)]
[BoKey]
public string? TrancheId { get; set; }

/// <summary>
/// Empfänger der Vergütung zur Einspeisung
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions BO4E/protobuf-files/bo4e.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,7 @@ enum FernsteuerbarkeitStatus {
message Einspeisung {
option (.protobuf_net.msgopt).namespace = "BO4E.BO";
string MarktlokationsId = 10;
string TrancheId = 101;
Geschaeftspartnerrolle Verguetungsempfaenger = 11;
EEGVermarktungsform EEGVermarktungsform = 12;
Landescode Landescode = 13;
Expand Down

0 comments on commit 30e5ecb

Please sign in to comment.