Skip to content

Commit f1514f2

Browse files
Add lokationsbuendelObjektcode to melo and malo object (#387)
1 parent c40b59e commit f1514f2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bo/marktlokation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ type Marktlokation struct {
5858

5959
Netznutzungsabrechnungsdaten []com.Netznutzungsabrechnungsdaten `json:"netznutzungsabrechnungsdaten,omitempty"` // Netznutzungsabrechnungsdaten sind Daten für die Prüfung der Netznutzungsabrechnung
6060
Sperrstatus *sperrstatus.Sperrstatus `json:"sperrstatus,omitempty"`
61+
62+
LokationsbuendelCode *string `json:"lokationsbuendelObjektcode,omitempty"` // Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.
6163
}
6264

6365
// the marktlokationForUnmarshal type is derived from Marktlokation but uses a different unmarshaler/deserializer so that we don't run into an endless recursion when overriding the UnmarshalJSON func to include our hacky workaround

bo/messlokation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ type Messlokation struct {
3131
Geoadresse *com.Geokoordinaten `json:"geoadresse,omitempty" validate:"required_without_all=Messadresse Katasterinformation"` // Geoadresse are gps coordinates of the Messlokation
3232
Katasterinformation *com.Katasteradresse `json:"katasterinformation,omitempty" validate:"required_without_all=Messadresse Geoadresse"` // Katasterinformation is a cadastre address of the Messlokation
3333

34+
LokationsbuendelCode *string `json:"lokationsbuendelObjektcode,omitempty"` // Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.
35+
3436
// IstFuerLieferanmeldungRelevant ist ein Behelfs-Flag das anzeigt, ob eine Messlokation für die Lieferanmeldung relevant ist (true).
3537
IstFuerLieferanmeldungRelevant *bool `json:"istFuerLieferanmeldungRelevant,omitempty"`
3638
}

0 commit comments

Comments
 (0)