Skip to content

Commit

Permalink
DEV-71631: Adapt Zaehlzeiten in Zaehlwerk to dotnet library (#345)
Browse files Browse the repository at this point in the history
Adapt Zaehlzeiten in Zaehlwerk to dotnet library
  • Loading branch information
hf-aschloegl authored Jan 13, 2025
1 parent f1a56a2 commit 48331fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions com/zaehlwerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ type Zaehlwerk struct {
Nachkommastellen *int `json:"nachkommastelle,omitempty" validate:"omitempty,min=0"` // Nachkommastellen is the number of post decimal places
Schwachlastfaehig schwachlastfaehigkeit.Schwachlastfaehigkeit `json:"schwachlastfaehig,omitempty"`

AnzahlAblesungen *int `json:"anzahlAblesungen,omitempty"`
// the json tag is different from the field name ("zaehlzeiten" instead of "zaehlzeit") to be consistent with the C# lib: https://github.com/Hochfrequenz/BO4E-dotnet/issues/249
Zaehlzeit *Zaehlzeit `json:"zaehlzeiten,omitempty"`
AnzahlAblesungen *int `json:"anzahlAblesungen,omitempty"`
Zaehlzeiten *Zaehlzeitregister `json:"zaehlzeiten,omitempty"`
Konfiguration *string `json:"konfiguration,omitempty"`
Konzessionsabgabe *Konzessionsabgabe `json:"konzessionsabgabe,omitempty"`
}
Expand Down

0 comments on commit 48331fe

Please sign in to comment.