anrede

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 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) - Unofficial / Customer requirement, not part of the BO4E standard yet.
	EHELEUTE                       // EHELEUTE (married couple)
	FIRMA                          // FIRMA (company)
	WOHNGEMEINSCHAFT               // WOHNGEMEINSCHAFT is a share flat/WG - Unofficial / Customer requirement, not part of the BO4E standard yet.
	INDIVIDUELL                    // INDIVIDUELL festgelegt
	FAMILIE                        // FAMILIE (family) - Unofficial / Customer requirement, not part of the BO4E standard yet.
	ERBENGEMEINSCHAFT              // ERBENGEMEINSCHAFT (community of heirs, community of co-heirs, community of joint heirs) - Unofficial / Customer requirement, not part of the BO4E standard yet.
	GRUNDSTUECKGEMEINSCHAFT        // GRUNDSTUECKGEMEINSCHAFT - Unofficial / Customer requirement, not part of the BO4E standard yet.
	DR                             // DR (doctor) - Unofficial / Customer requirement, not part of the BO4E standard yet.
)

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