tarifzeit

package
v0.5.0-alpha0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 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 Tarifzeit

type Tarifzeit int

Tarifzeit wird zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung verwendet.

const (
	// TZ_STANDARD = single tariff
	TZ_STANDARD Tarifzeit = iota + 1
	TZ_HT                 // 	Tarifzeit für Hochtarif bei Mehrtarif-Konfigurationen
	TZ_NT                 // 	Tarifzeit für Niedrigtarif bei Mehrtarif-Konfigurationen
)

func (Tarifzeit) MarshalJSON

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

MarshalJSON is generated so Tarifzeit satisfies json.Marshaler.

func (*Tarifzeit) Scan added in v0.2.3

func (r *Tarifzeit) 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 (Tarifzeit) String

func (i Tarifzeit) String() string

func (*Tarifzeit) UnmarshalJSON

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

UnmarshalJSON is generated so Tarifzeit satisfies json.Unmarshaler.

func (Tarifzeit) Value added in v0.2.3

func (r Tarifzeit) 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