model

package
v0.0.0-...-1962235 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Employee

type Employee struct {
	ID       int            `json:"id"`
	Products []ProductNames `json:"products"`
}

func (Employee) IsEntity

func (Employee) IsEntity()

type ProductNames

type ProductNames string
const (
	ProductNamesCloud          ProductNames = "CLOUD"
	ProductNamesCosmo          ProductNames = "COSMO"
	ProductNamesEngine         ProductNames = "ENGINE"
	ProductNamesFinance        ProductNames = "FINANCE"
	ProductNamesHumanResources ProductNames = "HUMAN_RESOURCES"
	ProductNamesMarketing      ProductNames = "MARKETING"
	ProductNamesSdk            ProductNames = "SDK"
)

func (ProductNames) IsValid

func (e ProductNames) IsValid() bool

func (ProductNames) MarshalGQL

func (e ProductNames) MarshalGQL(w io.Writer)

func (ProductNames) String

func (e ProductNames) String() string

func (*ProductNames) UnmarshalGQL

func (e *ProductNames) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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