anrede

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 Anrede

type Anrede int

Anrede ist eine Auflistung möglicher abzurechnender Dienstleistungen.

const (
	// HERR (male)
	HERR             Anrede = iota + 1
	FRAU                    // FRAU (female)
	DIVERS                  // DIVERS (non-binary)
	EHELEUTE                // EHELEUTE (married couple)
	FIRMA                   // FIRMA (company)
	WOHNGEMEINSCHAFT        // WOHNGEMEINSCHAFT is a share flat/WG
	INDIVIDUELL             // INDIVIDUELL festgelegt
)

func (Anrede) MarshalJSON

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

MarshalJSON is generated so Anrede satisfies json.Marshaler.

func (*Anrede) Scan added in v0.2.3

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

func (i Anrede) String() string

func (*Anrede) UnmarshalJSON

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

UnmarshalJSON is generated so Anrede satisfies json.Unmarshaler.

func (Anrede) Value added in v0.2.3

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