annotations

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const EntityName = "Entity"

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Caption      string
	RelationType entity.RelationType
}

func (Edge) Name

func (Edge) Name() string

type EdgeExtension

type EdgeExtension struct {
	entc.DefaultExtension
	// contains filtered or unexported fields
}

func (*EdgeExtension) Annotations

func (s *EdgeExtension) Annotations() []entc.Annotation

type Entity

type Entity struct {
	Caption      string
	DisplayField string
	Owner        entity.EntityOwner
}

func (Entity) Name

func (Entity) Name() string

type EntityExtension

type EntityExtension struct {
	entc.DefaultExtension
	// contains filtered or unexported fields
}

func (*EntityExtension) Annotations

func (s *EntityExtension) Annotations() []entc.Annotation

type Field

type Field struct {
	Caption        string
	Type           entity.FieldType
	Min            string
	Max            string
	Private        bool
	DefaultValue   string
	AcceptedValues []string
}

func (Field) Name

func (Field) Name() string

type FieldExtension

type FieldExtension struct {
	entc.DefaultExtension
	// contains filtered or unexported fields
}

func (*FieldExtension) Annotations

func (s *FieldExtension) Annotations() []entc.Annotation

Jump to

Keyboard shortcuts

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