Documentation ¶
Index ¶
- Constants
- type Boolean
- func (f *Boolean) DBType() *libdata.DBType
- func (f *Boolean) GetInverseField() string
- func (f *Boolean) GetName() string
- func (f *Boolean) GetPrimaryKey() bool
- func (f *Boolean) GetReference() *libdata.ModelDefinition
- func (f *Boolean) GetReferenceName() string
- func (f *Boolean) GetRequired() bool
- func (f *Boolean) GoType() string
- func (f *Boolean) GraphqlSchemaType() string
- func (f *Boolean) GraphqlType() string
- func (f *Boolean) IsNested() bool
- func (f *Boolean) IsStored() bool
- func (f *Boolean) NameWithoutUUID() string
- func (f *Boolean) ProtoType() string
- func (f *Boolean) SetReference(*libdata.ModelDefinition)
- func (f *Boolean) Snake() string
- func (f *Boolean) Title() string
- func (f *Boolean) TitleWithoutUUID() string
- func (f *Boolean) Type() libdata.FieldType
- type Date
- func (f *Date) DBType() *libdata.DBType
- func (f *Date) GetInverseField() string
- func (f *Date) GetName() string
- func (f *Date) GetPrimaryKey() bool
- func (f *Date) GetReference() *libdata.ModelDefinition
- func (f *Date) GetReferenceName() string
- func (f *Date) GetRequired() bool
- func (f *Date) GoType() string
- func (f *Date) GraphqlSchemaType() string
- func (f *Date) GraphqlType() string
- func (f *Date) IsNested() bool
- func (f *Date) IsStored() bool
- func (f *Date) NameWithoutUUID() string
- func (f *Date) ProtoType() string
- func (f *Date) SetReference(*libdata.ModelDefinition)
- func (f *Date) Snake() string
- func (f *Date) Title() string
- func (f *Date) TitleWithoutUUID() string
- func (f *Date) Type() libdata.FieldType
- type Datetime
- func (f *Datetime) DBType() *libdata.DBType
- func (f *Datetime) GetInverseField() string
- func (f *Datetime) GetName() string
- func (f *Datetime) GetPrimaryKey() bool
- func (f *Datetime) GetReference() *libdata.ModelDefinition
- func (f *Datetime) GetReferenceName() string
- func (f *Datetime) GetRequired() bool
- func (f *Datetime) GoType() string
- func (f *Datetime) GraphqlSchemaType() string
- func (f *Datetime) GraphqlType() string
- func (f *Datetime) IsNested() bool
- func (f *Datetime) IsStored() bool
- func (f *Datetime) NameWithoutUUID() string
- func (f *Datetime) ProtoType() string
- func (f *Datetime) SetReference(*libdata.ModelDefinition)
- func (f *Datetime) Snake() string
- func (f *Datetime) Title() string
- func (f *Datetime) TitleWithoutUUID() string
- func (f *Datetime) Type() libdata.FieldType
- type Float
- func (f *Float) DBType() *libdata.DBType
- func (f *Float) GetInverseField() string
- func (f *Float) GetName() string
- func (f *Float) GetPrimaryKey() bool
- func (f *Float) GetReference() *libdata.ModelDefinition
- func (f *Float) GetReferenceName() string
- func (f *Float) GetRequired() bool
- func (f *Float) GoType() string
- func (f *Float) GraphqlSchemaType() string
- func (f *Float) GraphqlType() string
- func (f *Float) IsNested() bool
- func (f *Float) IsStored() bool
- func (f *Float) NameWithoutUUID() string
- func (f *Float) ProtoType() string
- func (f *Float) SetReference(*libdata.ModelDefinition)
- func (f *Float) Snake() string
- func (f *Float) Title() string
- func (f *Float) TitleWithoutUUID() string
- func (f *Float) Type() libdata.FieldType
- type ID
- func (f *ID) DBType() *libdata.DBType
- func (f *ID) GetInverseField() string
- func (f *ID) GetName() string
- func (f *ID) GetPrimaryKey() bool
- func (f *ID) GetReference() *libdata.ModelDefinition
- func (f *ID) GetReferenceName() string
- func (f *ID) GetRequired() bool
- func (f *ID) GoType() string
- func (f *ID) GraphqlSchemaType() string
- func (f *ID) GraphqlType() string
- func (f *ID) IsNested() bool
- func (f *ID) IsStored() bool
- func (f *ID) NameWithoutUUID() string
- func (f *ID) ProtoType() string
- func (f *ID) SetReference(*libdata.ModelDefinition)
- func (f *ID) Snake() string
- func (f *ID) Title() string
- func (f *ID) TitleWithoutUUID() string
- func (f *ID) Type() libdata.FieldType
- type Integer
- func (f *Integer) DBType() *libdata.DBType
- func (f *Integer) GetInverseField() string
- func (f *Integer) GetName() string
- func (f *Integer) GetPrimaryKey() bool
- func (f *Integer) GetReference() *libdata.ModelDefinition
- func (f *Integer) GetReferenceName() string
- func (f *Integer) GetRequired() bool
- func (f *Integer) GoType() string
- func (f *Integer) GraphqlSchemaType() string
- func (f *Integer) GraphqlType() string
- func (f *Integer) IsNested() bool
- func (f *Integer) IsStored() bool
- func (f *Integer) NameWithoutUUID() string
- func (f *Integer) ProtoType() string
- func (f *Integer) SetReference(*libdata.ModelDefinition)
- func (f *Integer) Snake() string
- func (f *Integer) Title() string
- func (f *Integer) TitleWithoutUUID() string
- func (f *Integer) Type() libdata.FieldType
- type JSON
- func (f *JSON) DBType() *libdata.DBType
- func (f *JSON) GetInverseField() string
- func (f *JSON) GetName() string
- func (f *JSON) GetPrimaryKey() bool
- func (f *JSON) GetReference() *libdata.ModelDefinition
- func (f *JSON) GetReferenceName() string
- func (f *JSON) GetRequired() bool
- func (f *JSON) GoType() string
- func (f *JSON) GraphqlSchemaType() string
- func (f *JSON) GraphqlType() string
- func (f *JSON) IsNested() bool
- func (f *JSON) IsStored() bool
- func (f *JSON) NameWithoutUUID() string
- func (f *JSON) ProtoType() string
- func (f *JSON) SetReference(*libdata.ModelDefinition)
- func (f *JSON) Snake() string
- func (f *JSON) Title() string
- func (f *JSON) TitleWithoutUUID() string
- func (f *JSON) Type() libdata.FieldType
- type Many2many
- func (f *Many2many) DBType() *libdata.DBType
- func (f *Many2many) GetInverseField() string
- func (f *Many2many) GetName() string
- func (f *Many2many) GetPrimaryKey() bool
- func (f *Many2many) GetReference() *libdata.ModelDefinition
- func (f *Many2many) GetReferenceName() string
- func (f *Many2many) GetRequired() bool
- func (f *Many2many) GoType() string
- func (f *Many2many) GraphqlSchemaType() string
- func (f *Many2many) GraphqlType() string
- func (f *Many2many) IsNested() bool
- func (f *Many2many) IsStored() bool
- func (f *Many2many) NameWithoutUUID() string
- func (f *Many2many) ProtoType() string
- func (f *Many2many) SetReference(d *libdata.ModelDefinition)
- func (f *Many2many) Snake() string
- func (f *Many2many) Title() string
- func (f *Many2many) TitleWithoutUUID() string
- func (f *Many2many) Type() libdata.FieldType
- type Many2one
- func (f *Many2one) DBType() *libdata.DBType
- func (f *Many2one) GetInverseField() string
- func (f *Many2one) GetName() string
- func (f *Many2one) GetPrimaryKey() bool
- func (f *Many2one) GetReference() *libdata.ModelDefinition
- func (f *Many2one) GetReferenceName() string
- func (f *Many2one) GetRequired() bool
- func (f *Many2one) GoType() string
- func (f *Many2one) GraphqlSchemaType() string
- func (f *Many2one) GraphqlType() string
- func (f *Many2one) IsNested() bool
- func (f *Many2one) IsStored() bool
- func (f *Many2one) NameWithoutUUID() string
- func (f *Many2one) ProtoType() string
- func (f *Many2one) SetReference(d *libdata.ModelDefinition)
- func (f *Many2one) Snake() string
- func (f *Many2one) Title() string
- func (f *Many2one) TitleWithoutUUID() string
- func (f *Many2one) Type() libdata.FieldType
- type One2many
- func (f *One2many) DBType() *libdata.DBType
- func (f *One2many) GetInverseField() string
- func (f *One2many) GetName() string
- func (f *One2many) GetPrimaryKey() bool
- func (f *One2many) GetReference() *libdata.ModelDefinition
- func (f *One2many) GetReferenceName() string
- func (f *One2many) GetRequired() bool
- func (f *One2many) GoType() string
- func (f *One2many) GraphqlSchemaType() string
- func (f *One2many) GraphqlType() string
- func (f *One2many) IsNested() bool
- func (f *One2many) IsStored() bool
- func (f *One2many) NameWithoutUUID() string
- func (f *One2many) ProtoType() string
- func (f *One2many) SetReference(d *libdata.ModelDefinition)
- func (f *One2many) Snake() string
- func (f *One2many) Title() string
- func (f *One2many) TitleWithoutUUID() string
- func (f *One2many) Type() libdata.FieldType
- type Text
- func (f *Text) DBType() *libdata.DBType
- func (f *Text) GetInverseField() string
- func (f *Text) GetName() string
- func (f *Text) GetPrimaryKey() bool
- func (f *Text) GetReference() *libdata.ModelDefinition
- func (f *Text) GetReferenceName() string
- func (f *Text) GetRequired() bool
- func (f *Text) GoType() string
- func (f *Text) GraphqlSchemaType() string
- func (f *Text) GraphqlType() string
- func (f *Text) IsNested() bool
- func (f *Text) IsStored() bool
- func (f *Text) NameWithoutUUID() string
- func (f *Text) ProtoType() string
- func (f *Text) SetReference(*libdata.ModelDefinition)
- func (f *Text) Snake() string
- func (f *Text) Title() string
- func (f *Text) TitleWithoutUUID() string
- func (f *Text) Type() libdata.FieldType
Constants ¶
const BooleanFieldType = libdata.FieldType("BooleanType")
BooleanFieldType contains the field type for Boolean
const DateFieldType = libdata.FieldType("DateType")
DateFieldType contains the field type for Date
const DatetimeFieldType = libdata.FieldType("DatetimeType")
DatetimeFieldType contains the field type for Datetime
const FloatFieldType = libdata.FieldType("FloatType")
FloatFieldType contains the field type for Float
const IDFieldType = libdata.FieldType("IDType")
IDFieldType contains the field type for ID
const IntegerFieldType = libdata.FieldType("IntegerType")
IntegerFieldType contains the field type for Interger
const JSONFieldType = libdata.FieldType("JSONType")
JSONFieldType contains the field type for JSON
const Many2manyFieldType = libdata.FieldType("Many2manyType")
Many2manyFieldType contains the field type for Many2many
const Many2oneFieldType = libdata.FieldType("Many2oneType")
Many2oneFieldType contains the field type for Many2one
const One2manyFieldType = libdata.FieldType("One2manyType")
One2manyFieldType contains the field type for One2many
const TextFieldType = libdata.FieldType("TextType")
TextFieldType contains the field type for Text
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boolean ¶
type Boolean struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Boolean is the field type you can use in definition to declare a Boolean field.
func (*Boolean) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Boolean) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Boolean) GetReference ¶
func (f *Boolean) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Boolean) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Boolean) GetRequired ¶
GetRequired return if this field is required or not.
func (*Boolean) GraphqlSchemaType ¶
Type return the type of the field.
func (*Boolean) GraphqlType ¶
Type return the type of the field.
func (*Boolean) NameWithoutUUID ¶
Title return the title of the field.
func (*Boolean) SetReference ¶
func (f *Boolean) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Boolean) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Boolean) TitleWithoutUUID ¶
Title return the title of the field.
type Date ¶
type Date struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Date is the field type you can use in definition to declare a Date field.
func (*Date) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Date) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Date) GetReference ¶
func (f *Date) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Date) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Date) GetRequired ¶
GetRequired return if this field is required or not.
func (*Date) GraphqlSchemaType ¶
Type return the type of the field.
func (*Date) NameWithoutUUID ¶
Title return the title of the field.
func (*Date) SetReference ¶
func (f *Date) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Date) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Date) TitleWithoutUUID ¶
Title return the title of the field.
type Datetime ¶
type Datetime struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Datetime is the field type you can use in definition to declare a Datetime field.
func (*Datetime) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Datetime) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Datetime) GetReference ¶
func (f *Datetime) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Datetime) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Datetime) GetRequired ¶
GetRequired return if this field is required or not.
func (*Datetime) GraphqlSchemaType ¶
Type return the type of the field.
func (*Datetime) GraphqlType ¶
Type return the type of the field.
func (*Datetime) NameWithoutUUID ¶
Title return the title of the field.
func (*Datetime) SetReference ¶
func (f *Datetime) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Datetime) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Datetime) TitleWithoutUUID ¶
Title return the title of the field.
type Float ¶
type Float struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Float is the field type you can use in definition to declare a Float field.
func (*Float) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Float) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Float) GetReference ¶
func (f *Float) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Float) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Float) GetRequired ¶
GetRequired return if this field is required or not.
func (*Float) GraphqlSchemaType ¶
Type return the type of the field.
func (*Float) NameWithoutUUID ¶
Title return the title of the field.
func (*Float) SetReference ¶
func (f *Float) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Float) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Float) TitleWithoutUUID ¶
Title return the title of the field.
type ID ¶
type ID struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
ID is the field type you can use in definition to declare an ID field.
func (*ID) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*ID) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*ID) GetReference ¶
func (f *ID) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*ID) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*ID) GetRequired ¶
GetRequired return if this field is required or not.
func (*ID) GraphqlSchemaType ¶
Type return the type of the field.
func (*ID) NameWithoutUUID ¶
Title return the title of the field.
func (*ID) SetReference ¶
func (f *ID) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*ID) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*ID) TitleWithoutUUID ¶
Title return the title of the field.
type Integer ¶
type Integer struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Integer is the field type you can use in definition to declare an Integer field.
func (*Integer) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Integer) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Integer) GetReference ¶
func (f *Integer) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Integer) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Integer) GetRequired ¶
GetRequired return if this field is required or not.
func (*Integer) GraphqlSchemaType ¶
Type return the type of the field.
func (*Integer) GraphqlType ¶
Type return the type of the field.
func (*Integer) NameWithoutUUID ¶
Title return the title of the field.
func (*Integer) SetReference ¶
func (f *Integer) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Integer) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Integer) TitleWithoutUUID ¶
Title return the title of the field.
type JSON ¶
type JSON struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
JSON is the field type you can use in definition to declare a JSON field.
func (*JSON) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*JSON) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*JSON) GetReference ¶
func (f *JSON) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*JSON) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*JSON) GetRequired ¶
GetRequired return if this field is required or not.
func (*JSON) GraphqlSchemaType ¶
Type return the type of the field.
func (*JSON) NameWithoutUUID ¶
Title return the title of the field.
func (*JSON) SetReference ¶
func (f *JSON) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*JSON) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*JSON) TitleWithoutUUID ¶
Title return the title of the field.
type Many2many ¶
type Many2many struct { Name string String string Reference string ReferenceDefinition *libdata.ModelDefinition TitleName string DBName string }
Many2many is the field type you can use in definition to declare a Many2many field.
func (*Many2many) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Many2many) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Many2many) GetReference ¶
func (f *Many2many) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Many2many) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Many2many) GetRequired ¶
GetRequired return if this field is required or not.
func (*Many2many) GraphqlSchemaType ¶
Type return the type of the field.
func (*Many2many) GraphqlType ¶
Type return the type of the field.
func (*Many2many) NameWithoutUUID ¶
Title return the title of the field.
func (*Many2many) SetReference ¶
func (f *Many2many) SetReference(d *libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Many2many) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Many2many) TitleWithoutUUID ¶
Title return the title of the field.
type Many2one ¶
type Many2one struct { Name string String string Reference string ReferenceDefinition *libdata.ModelDefinition Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Many2one is the field type you can use in definition to declare a Many2one field.
func (*Many2one) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Many2one) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Many2one) GetReference ¶
func (f *Many2one) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Many2one) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Many2one) GetRequired ¶
GetRequired return if this field is required or not.
func (*Many2one) GraphqlSchemaType ¶
Type return the type of the field.
func (*Many2one) GraphqlType ¶
Type return the type of the field.
func (*Many2one) NameWithoutUUID ¶
Title return the title of the field.
func (*Many2one) SetReference ¶
func (f *Many2one) SetReference(d *libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Many2one) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Many2one) TitleWithoutUUID ¶
Title return the title of the field.
type One2many ¶
type One2many struct { Name string String string Reference string ReferenceDefinition *libdata.ModelDefinition InverseField string TitleName string DBName string }
One2many is the field type you can use in definition to declare a One2many field.
func (*One2many) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*One2many) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*One2many) GetReference ¶
func (f *One2many) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*One2many) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*One2many) GetRequired ¶
GetRequired return if this field is required or not.
func (*One2many) GraphqlSchemaType ¶
Type return the type of the field.
func (*One2many) GraphqlType ¶
Type return the type of the field.
func (*One2many) NameWithoutUUID ¶
Title return the title of the field.
func (*One2many) SetReference ¶
func (f *One2many) SetReference(d *libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*One2many) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*One2many) TitleWithoutUUID ¶
Title return the title of the field.
type Text ¶
type Text struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string }
Text is the field type you can use in definition to declare a Text field.
func (*Text) GetInverseField ¶
GetInverseField return the inverse field, if applicable.
func (*Text) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Text) GetReference ¶
func (f *Text) GetReference() *libdata.ModelDefinition
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Text) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Text) GetRequired ¶
GetRequired return if this field is required or not.
func (*Text) GraphqlSchemaType ¶
Type return the type of the field.
func (*Text) NameWithoutUUID ¶
Title return the title of the field.
func (*Text) SetReference ¶
func (f *Text) SetReference(*libdata.ModelDefinition)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Text) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Text) TitleWithoutUUID ¶
Title return the title of the field.