marktrolle

package
v0.4.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code auto-generated; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marktrolle

type Marktrolle int

The Marktrolle describes the roles of a bo.Marktteilnehmer

const (
	// NB is a Netzbetreiber
	NB              Marktrolle = iota + 1
	LF                         // LF is a Lieferant
	MSB                        // MSB is a Messstellenbetreiber
	DL                         // DL is a Dienstleister
	BKV                        // BKV is a Bilanzkreisverantwortlicher
	BKO                        // BKO is a Bilanzkoordinator/Marktgebietsverantwortlicher
	UENB                       // UENB is a Übertragungsnetzbetreiber
	KUNDE_SELBST_NN            // KUNDE_SELBST_NN is a Kunden die NN-Entgelte selbst zahlen
	MGV                        // MGV is a Marktgebietsverantwortlicher
	EIV                        // EIV is a Einsatzverantwortlicher
	RB                         // RB is a Registerbetreiber Beispielsweise Herkunftsnachweisregister
	KUNDE                      // KUNDE is a Kunde
	INTERESSENT                // INTERESSENT is a Interessent
	GMSB                       // GMSB stands for "Grundzuständiger MSB"
)

func (Marktrolle) MarshalJSON

func (r Marktrolle) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Marktrolle satisfies json.Marshaler.

func (*Marktrolle) Scan added in v0.2.3

func (r *Marktrolle) Scan(src interface{}) error

Scan sets r to the enum value represented by src. It implements the sql.Scanner interface to be useable by sql drivers when reading from database.

func (Marktrolle) String

func (i Marktrolle) String() string

func (*Marktrolle) UnmarshalJSON

func (r *Marktrolle) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Marktrolle satisfies json.Unmarshaler.

func (Marktrolle) Value added in v0.2.3

func (r Marktrolle) Value() (driver.Value, error)

Value returns the string representation of r or an error, if no string representation exists. It implements the sql.Valuer interface to be useable by sql drivers when storing enums.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL