vertragsstatus

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 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 Vertragsstatus

type Vertragsstatus int

Vertragsstatus describes different status of contracts

const (
	// IN_ARBEIT means work in progress
	IN_ARBEIT    Vertragsstatus = iota + 1
	UEBERMITTELT                // UEBERMITTELT means sent
	ANGENOMMEN                  // ANGENOMMEN means accepted
	AKTIV                       // AKTIV means aktive
	ABGELEHNT                   // ABGELEHNT means rejected
	WIDERRUFEN                  // WIDERRUFEN means revoked
	STORNIERT                   // STORNIERT means cancelled
	GEKUENDIGT                  // GEKUENDIGT means resigned
	BEENDET                     // BEENDET means stopped
)

func (Vertragsstatus) MarshalJSON

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

MarshalJSON is generated so Vertragsstatus satisfies json.Marshaler.

func (*Vertragsstatus) Scan added in v0.2.3

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

func (i Vertragsstatus) String() string

func (*Vertragsstatus) UnmarshalJSON

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

UnmarshalJSON is generated so Vertragsstatus satisfies json.Unmarshaler.

func (Vertragsstatus) Value added in v0.2.3

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