Documentation
¶
Index ¶
- Constants
- type Binary
- func (f *Binary) DBType() *libtranslator.DBType
- func (f *Binary) GetInverseProperty() string
- func (r *Binary) GetLoadedPosition() int
- func (r *Binary) GetLoadedPositionMany2one() int
- func (f *Binary) GetName() string
- func (f *Binary) GetPosition() int
- func (r *Binary) GetPositionMany2one() int
- func (f *Binary) GetPrimaryKey() bool
- func (f *Binary) GetReference() libtranslator.TableInterface
- func (f *Binary) GetReferenceName() string
- func (f *Binary) GetRequired() bool
- func (r *Binary) GetReturnDetailsInTests() bool
- func (f *Binary) GoNil() string
- func (f *Binary) GoType() string
- func (f *Binary) GoTypeID() string
- func (f *Binary) GraphqlSchemaType() string
- func (f *Binary) GraphqlType() string
- func (f *Binary) IsNested() bool
- func (r *Binary) IsRepeated() bool
- func (f *Binary) IsStored() bool
- func (r *Binary) IsTranslatable() bool
- func (f *Binary) JSONType() string
- func (f *Binary) NameWithoutID() string
- func (f *Binary) ProtoType() string
- func (f *Binary) ProtoTypeArg() string
- func (f *Binary) ProtoTypeOptional() string
- func (f *Binary) SetPosition(position int)
- func (f *Binary) SetReference(libtranslator.TableInterface)
- func (f *Binary) Snake() string
- func (f *Binary) Title() string
- func (f *Binary) TitleWithoutID() string
- func (f *Binary) Type() libtranslator.PropertyType
- func (f *Binary) Upper() string
- type Boolean
- func (f *Boolean) DBType() *libtranslator.DBType
- func (f *Boolean) GetInverseProperty() string
- func (r *Boolean) GetLoadedPosition() int
- func (r *Boolean) GetLoadedPositionMany2one() int
- func (f *Boolean) GetName() string
- func (f *Boolean) GetPosition() int
- func (r *Boolean) GetPositionMany2one() int
- func (f *Boolean) GetPrimaryKey() bool
- func (f *Boolean) GetReference() libtranslator.TableInterface
- func (f *Boolean) GetReferenceName() string
- func (f *Boolean) GetRequired() bool
- func (r *Boolean) GetReturnDetailsInTests() bool
- func (f *Boolean) GoNil() string
- func (f *Boolean) GoType() string
- func (f *Boolean) GoTypeID() string
- func (f *Boolean) GraphqlSchemaType() string
- func (f *Boolean) GraphqlType() string
- func (f *Boolean) IsNested() bool
- func (r *Boolean) IsRepeated() bool
- func (f *Boolean) IsStored() bool
- func (r *Boolean) IsTranslatable() bool
- func (f *Boolean) JSONType() string
- func (f *Boolean) NameWithoutID() string
- func (f *Boolean) ProtoType() string
- func (f *Boolean) ProtoTypeArg() string
- func (f *Boolean) ProtoTypeOptional() string
- func (f *Boolean) SetPosition(position int)
- func (f *Boolean) SetReference(libtranslator.TableInterface)
- func (f *Boolean) Snake() string
- func (f *Boolean) Title() string
- func (f *Boolean) TitleWithoutID() string
- func (f *Boolean) Type() libtranslator.PropertyType
- func (f *Boolean) Upper() string
- type Date
- func (f *Date) DBType() *libtranslator.DBType
- func (f *Date) GetInverseProperty() string
- func (r *Date) GetLoadedPosition() int
- func (r *Date) GetLoadedPositionMany2one() int
- func (f *Date) GetName() string
- func (f *Date) GetPosition() int
- func (r *Date) GetPositionMany2one() int
- func (f *Date) GetPrimaryKey() bool
- func (f *Date) GetReference() libtranslator.TableInterface
- func (f *Date) GetReferenceName() string
- func (f *Date) GetRequired() bool
- func (r *Date) GetReturnDetailsInTests() bool
- func (f *Date) GoNil() string
- func (f *Date) GoType() string
- func (f *Date) GoTypeID() string
- func (f *Date) GraphqlSchemaType() string
- func (f *Date) GraphqlType() string
- func (f *Date) IsNested() bool
- func (r *Date) IsRepeated() bool
- func (f *Date) IsStored() bool
- func (r *Date) IsTranslatable() bool
- func (f *Date) JSONType() string
- func (f *Date) NameWithoutID() string
- func (f *Date) ProtoType() string
- func (f *Date) ProtoTypeArg() string
- func (f *Date) ProtoTypeOptional() string
- func (f *Date) SetPosition(position int)
- func (f *Date) SetReference(libtranslator.TableInterface)
- func (f *Date) Snake() string
- func (f *Date) Title() string
- func (f *Date) TitleWithoutID() string
- func (f *Date) Type() libtranslator.PropertyType
- func (f *Date) Upper() string
- type Datetime
- func (f *Datetime) DBType() *libtranslator.DBType
- func (f *Datetime) GetInverseProperty() string
- func (r *Datetime) GetLoadedPosition() int
- func (r *Datetime) GetLoadedPositionMany2one() int
- func (f *Datetime) GetName() string
- func (f *Datetime) GetPosition() int
- func (r *Datetime) GetPositionMany2one() int
- func (f *Datetime) GetPrimaryKey() bool
- func (f *Datetime) GetReference() libtranslator.TableInterface
- func (f *Datetime) GetReferenceName() string
- func (f *Datetime) GetRequired() bool
- func (r *Datetime) GetReturnDetailsInTests() bool
- func (f *Datetime) GoNil() string
- func (f *Datetime) GoType() string
- func (f *Datetime) GoTypeID() string
- func (f *Datetime) GraphqlSchemaType() string
- func (f *Datetime) GraphqlType() string
- func (f *Datetime) IsNested() bool
- func (r *Datetime) IsRepeated() bool
- func (f *Datetime) IsStored() bool
- func (r *Datetime) IsTranslatable() bool
- func (f *Datetime) JSONType() string
- func (f *Datetime) NameWithoutID() string
- func (f *Datetime) ProtoType() string
- func (f *Datetime) ProtoTypeArg() string
- func (f *Datetime) ProtoTypeOptional() string
- func (f *Datetime) SetPosition(position int)
- func (f *Datetime) SetReference(libtranslator.TableInterface)
- func (f *Datetime) Snake() string
- func (f *Datetime) Title() string
- func (f *Datetime) TitleWithoutID() string
- func (f *Datetime) Type() libtranslator.PropertyType
- func (f *Datetime) Upper() string
- type Float
- func (f *Float) DBType() *libtranslator.DBType
- func (f *Float) GetInverseProperty() string
- func (r *Float) GetLoadedPosition() int
- func (r *Float) GetLoadedPositionMany2one() int
- func (f *Float) GetName() string
- func (f *Float) GetPosition() int
- func (r *Float) GetPositionMany2one() int
- func (f *Float) GetPrimaryKey() bool
- func (f *Float) GetReference() libtranslator.TableInterface
- func (f *Float) GetReferenceName() string
- func (f *Float) GetRequired() bool
- func (r *Float) GetReturnDetailsInTests() bool
- func (f *Float) GoNil() string
- func (f *Float) GoType() string
- func (f *Float) GoTypeID() string
- func (f *Float) GraphqlSchemaType() string
- func (f *Float) GraphqlType() string
- func (f *Float) IsNested() bool
- func (r *Float) IsRepeated() bool
- func (f *Float) IsStored() bool
- func (r *Float) IsTranslatable() bool
- func (f *Float) JSONType() string
- func (f *Float) NameWithoutID() string
- func (f *Float) ProtoType() string
- func (f *Float) ProtoTypeArg() string
- func (f *Float) ProtoTypeOptional() string
- func (f *Float) SetPosition(position int)
- func (f *Float) SetReference(libtranslator.TableInterface)
- func (f *Float) Snake() string
- func (f *Float) Title() string
- func (f *Float) TitleWithoutID() string
- func (f *Float) Type() libtranslator.PropertyType
- func (f *Float) Upper() string
- type ID
- func (f *ID) DBType() *libtranslator.DBType
- func (f *ID) GetInverseProperty() string
- func (r *ID) GetLoadedPosition() int
- func (r *ID) GetLoadedPositionMany2one() int
- func (f *ID) GetName() string
- func (f *ID) GetPosition() int
- func (r *ID) GetPositionMany2one() int
- func (f *ID) GetPrimaryKey() bool
- func (f *ID) GetReference() libtranslator.TableInterface
- func (f *ID) GetReferenceName() string
- func (f *ID) GetRequired() bool
- func (r *ID) GetReturnDetailsInTests() bool
- func (f *ID) GoNil() string
- func (f *ID) GoType() string
- func (f *ID) GoTypeID() string
- func (f *ID) GraphqlSchemaType() string
- func (f *ID) GraphqlType() string
- func (f *ID) IsNested() bool
- func (r *ID) IsRepeated() bool
- func (f *ID) IsStored() bool
- func (r *ID) IsTranslatable() bool
- func (f *ID) JSONType() string
- func (f *ID) NameWithoutID() string
- func (f *ID) ProtoType() string
- func (f *ID) ProtoTypeArg() string
- func (f *ID) ProtoTypeOptional() string
- func (f *ID) SetPosition(position int)
- func (f *ID) SetReference(libtranslator.TableInterface)
- func (f *ID) Snake() string
- func (f *ID) Title() string
- func (f *ID) TitleWithoutID() string
- func (f *ID) Type() libtranslator.PropertyType
- func (f *ID) Upper() string
- type Integer
- func (f *Integer) DBType() *libtranslator.DBType
- func (f *Integer) GetInverseProperty() string
- func (r *Integer) GetLoadedPosition() int
- func (r *Integer) GetLoadedPositionMany2one() int
- func (f *Integer) GetName() string
- func (f *Integer) GetPosition() int
- func (r *Integer) GetPositionMany2one() int
- func (f *Integer) GetPrimaryKey() bool
- func (f *Integer) GetReference() libtranslator.TableInterface
- func (f *Integer) GetReferenceName() string
- func (f *Integer) GetRequired() bool
- func (r *Integer) GetReturnDetailsInTests() bool
- func (f *Integer) GoNil() string
- func (f *Integer) GoType() string
- func (f *Integer) GoTypeID() string
- func (f *Integer) GraphqlSchemaType() string
- func (f *Integer) GraphqlType() string
- func (f *Integer) IsNested() bool
- func (r *Integer) IsRepeated() bool
- func (f *Integer) IsStored() bool
- func (r *Integer) IsTranslatable() bool
- func (f *Integer) JSONType() string
- func (f *Integer) NameWithoutID() string
- func (f *Integer) ProtoType() string
- func (f *Integer) ProtoTypeArg() string
- func (f *Integer) ProtoTypeOptional() string
- func (f *Integer) SetPosition(position int)
- func (f *Integer) SetReference(libtranslator.TableInterface)
- func (f *Integer) Snake() string
- func (f *Integer) Title() string
- func (f *Integer) TitleWithoutID() string
- func (f *Integer) Type() libtranslator.PropertyType
- func (f *Integer) Upper() string
- type JSON
- func (f *JSON) DBType() *libtranslator.DBType
- func (f *JSON) GetInverseProperty() string
- func (r *JSON) GetLoadedPosition() int
- func (r *JSON) GetLoadedPositionMany2one() int
- func (f *JSON) GetName() string
- func (f *JSON) GetPosition() int
- func (r *JSON) GetPositionMany2one() int
- func (f *JSON) GetPrimaryKey() bool
- func (f *JSON) GetReference() libtranslator.TableInterface
- func (f *JSON) GetReferenceName() string
- func (f *JSON) GetRequired() bool
- func (r *JSON) GetReturnDetailsInTests() bool
- func (f *JSON) GoNil() string
- func (f *JSON) GoType() string
- func (f *JSON) GoTypeID() string
- func (f *JSON) GraphqlSchemaType() string
- func (f *JSON) GraphqlType() string
- func (f *JSON) IsNested() bool
- func (r *JSON) IsRepeated() bool
- func (f *JSON) IsStored() bool
- func (r *JSON) IsTranslatable() bool
- func (f *JSON) JSONType() string
- func (f *JSON) NameWithoutID() string
- func (f *JSON) ProtoType() string
- func (f *JSON) ProtoTypeArg() string
- func (f *JSON) ProtoTypeOptional() string
- func (f *JSON) SetPosition(position int)
- func (f *JSON) SetReference(libtranslator.TableInterface)
- func (f *JSON) Snake() string
- func (f *JSON) Title() string
- func (f *JSON) TitleWithoutID() string
- func (f *JSON) Type() libtranslator.PropertyType
- func (f *JSON) Upper() string
- type Many2many
- func (f *Many2many) DBType() *libtranslator.DBType
- func (f *Many2many) GetInverseProperty() string
- func (r *Many2many) GetLoadedPosition() int
- func (r *Many2many) GetLoadedPositionMany2one() int
- func (f *Many2many) GetName() string
- func (f *Many2many) GetPosition() int
- func (r *Many2many) GetPositionMany2one() int
- func (f *Many2many) GetPrimaryKey() bool
- func (f *Many2many) GetReference() libtranslator.TableInterface
- func (f *Many2many) GetReferenceName() string
- func (f *Many2many) GetRequired() bool
- func (r *Many2many) GetReturnDetailsInTests() bool
- func (f *Many2many) GoNil() string
- func (f *Many2many) GoType() string
- func (f *Many2many) GoTypeID() string
- func (f *Many2many) GraphqlSchemaType() string
- func (f *Many2many) GraphqlType() string
- func (f *Many2many) InverseSnake() string
- func (f *Many2many) InverseTitle() string
- func (f *Many2many) InverseUpper() string
- func (f *Many2many) IsNested() bool
- func (r *Many2many) IsRepeated() bool
- func (f *Many2many) IsStored() bool
- func (r *Many2many) IsTranslatable() bool
- func (f *Many2many) JSONType() string
- func (f *Many2many) NameWithoutID() string
- func (f *Many2many) ProtoType() string
- func (f *Many2many) ProtoTypeArg() string
- func (f *Many2many) ProtoTypeOptional() string
- func (f *Many2many) RelationTitle() string
- func (f *Many2many) RelationUpper() string
- func (f *Many2many) SetPosition(position int)
- func (f *Many2many) SetReference(d libtranslator.TableInterface)
- func (f *Many2many) Snake() string
- func (f *Many2many) TargetSnake() string
- func (f *Many2many) TargetTitle() string
- func (f *Many2many) Title() string
- func (f *Many2many) TitleWithoutID() string
- func (f *Many2many) Type() libtranslator.PropertyType
- func (f *Many2many) Upper() string
- type Many2one
- func (f *Many2one) DBType() *libtranslator.DBType
- func (f *Many2one) GetInverseProperty() string
- func (r *Many2one) GetLoadedPosition() int
- func (r *Many2one) GetLoadedPositionMany2one() int
- func (f *Many2one) GetName() string
- func (f *Many2one) GetPosition() int
- func (r *Many2one) GetPositionMany2one() int
- func (f *Many2one) GetPrimaryKey() bool
- func (f *Many2one) GetReference() libtranslator.TableInterface
- func (f *Many2one) GetReferenceName() string
- func (f *Many2one) GetRequired() bool
- func (r *Many2one) GetReturnDetailsInTests() bool
- func (f *Many2one) GoNil() string
- func (f *Many2one) GoType() string
- func (f *Many2one) GoTypeID() string
- func (f *Many2one) GoTypeWithPath() string
- func (f *Many2one) GraphqlSchemaType() string
- func (f *Many2one) GraphqlType() string
- func (f *Many2one) IsNested() bool
- func (r *Many2one) IsRepeated() bool
- func (f *Many2one) IsStored() bool
- func (r *Many2one) IsTranslatable() bool
- func (f *Many2one) JSONType() string
- func (f *Many2one) NameWithoutID() string
- func (f *Many2one) ProtoType() string
- func (f *Many2one) ProtoTypeArg() string
- func (f *Many2one) ProtoTypeOptional() string
- func (f *Many2one) ProtoTypeOptionalArg() string
- func (f *Many2one) SetPosition(position int)
- func (f *Many2one) SetReference(d libtranslator.TableInterface)
- func (f *Many2one) Snake() string
- func (f *Many2one) Title() string
- func (f *Many2one) TitleWithoutID() string
- func (f *Many2one) Type() libtranslator.PropertyType
- func (f *Many2one) Upper() string
- type One2many
- func (f *One2many) DBType() *libtranslator.DBType
- func (f *One2many) GetInverseProperty() string
- func (r *One2many) GetLoadedPosition() int
- func (r *One2many) GetLoadedPositionMany2one() int
- func (f *One2many) GetName() string
- func (f *One2many) GetPosition() int
- func (r *One2many) GetPositionMany2one() int
- func (f *One2many) GetPrimaryKey() bool
- func (f *One2many) GetReference() libtranslator.TableInterface
- func (f *One2many) GetReferenceName() string
- func (f *One2many) GetRequired() bool
- func (r *One2many) GetReturnDetailsInTests() bool
- func (f *One2many) GoNil() string
- func (f *One2many) GoType() string
- func (f *One2many) GoTypeID() string
- func (f *One2many) GraphqlSchemaType() string
- func (f *One2many) GraphqlType() string
- func (f *One2many) InversePropertySnake() string
- func (f *One2many) InversePropertyUpper() string
- func (f *One2many) IsNested() bool
- func (r *One2many) IsRepeated() bool
- func (f *One2many) IsStored() bool
- func (r *One2many) IsTranslatable() bool
- func (f *One2many) JSONType() string
- func (f *One2many) NameWithoutID() string
- func (f *One2many) ProtoType() string
- func (f *One2many) ProtoTypeArg() string
- func (f *One2many) ProtoTypeOptional() string
- func (f *One2many) SetPosition(position int)
- func (f *One2many) SetReference(d libtranslator.TableInterface)
- func (f *One2many) Snake() string
- func (f *One2many) Title() string
- func (f *One2many) TitleWithoutID() string
- func (f *One2many) Type() libtranslator.PropertyType
- func (f *One2many) Upper() string
- type Selection
- func (f *Selection) DBType() *libtranslator.DBType
- func (f *Selection) EnumTitle() string
- func (f *Selection) GetInverseProperty() string
- func (r *Selection) GetLoadedPosition() int
- func (r *Selection) GetLoadedPositionMany2one() int
- func (f *Selection) GetName() string
- func (f *Selection) GetPosition() int
- func (r *Selection) GetPositionMany2one() int
- func (f *Selection) GetPrimaryKey() bool
- func (f *Selection) GetReference() libtranslator.TableInterface
- func (f *Selection) GetReferenceName() string
- func (f *Selection) GetRequired() bool
- func (r *Selection) GetReturnDetailsInTests() bool
- func (f *Selection) GoNil() string
- func (f *Selection) GoType() string
- func (f *Selection) GoTypeID() string
- func (f *Selection) GraphqlSchemaType() string
- func (f *Selection) GraphqlType() string
- func (f *Selection) IsNested() bool
- func (r *Selection) IsRepeated() bool
- func (f *Selection) IsStored() bool
- func (r *Selection) IsTranslatable() bool
- func (f *Selection) JSONType() string
- func (f *Selection) NameWithoutID() string
- func (f *Selection) ProtoType() string
- func (f *Selection) ProtoTypeArg() string
- func (f *Selection) ProtoTypeOptional() string
- func (f *Selection) SetPosition(position int)
- func (f *Selection) SetReference(libtranslator.TableInterface)
- func (f *Selection) Snake() string
- func (f *Selection) Title() string
- func (f *Selection) TitleWithoutID() string
- func (f *Selection) Type() libtranslator.PropertyType
- func (f *Selection) Upper() string
- type Text
- func (f *Text) DBType() *libtranslator.DBType
- func (f *Text) GetInverseProperty() string
- func (r *Text) GetLoadedPosition() int
- func (r *Text) GetLoadedPositionMany2one() int
- func (f *Text) GetName() string
- func (f *Text) GetPosition() int
- func (r *Text) GetPositionMany2one() int
- func (f *Text) GetPrimaryKey() bool
- func (f *Text) GetReference() libtranslator.TableInterface
- func (f *Text) GetReferenceName() string
- func (f *Text) GetRequired() bool
- func (r *Text) GetReturnDetailsInTests() bool
- func (f *Text) GoNil() string
- func (f *Text) GoType() string
- func (f *Text) GoTypeID() string
- func (f *Text) GraphqlSchemaType() string
- func (f *Text) GraphqlType() string
- func (f *Text) IsNested() bool
- func (r *Text) IsRepeated() bool
- func (f *Text) IsStored() bool
- func (r *Text) IsTranslatable() bool
- func (f *Text) JSONType() string
- func (f *Text) NameWithoutID() string
- func (f *Text) ProtoType() string
- func (f *Text) ProtoTypeArg() string
- func (f *Text) ProtoTypeOptional() string
- func (f *Text) SetPosition(position int)
- func (f *Text) SetReference(libtranslator.TableInterface)
- func (f *Text) Snake() string
- func (f *Text) Title() string
- func (f *Text) TitleWithoutID() string
- func (f *Text) Type() libtranslator.PropertyType
- func (f *Text) Upper() string
- type TranslatableOptions
- type Upload
- func (f *Upload) DBType() *libtranslator.DBType
- func (f *Upload) GetInverseProperty() string
- func (r *Upload) GetLoadedPosition() int
- func (r *Upload) GetLoadedPositionMany2one() int
- func (f *Upload) GetName() string
- func (f *Upload) GetPosition() int
- func (r *Upload) GetPositionMany2one() int
- func (f *Upload) GetPrimaryKey() bool
- func (f *Upload) GetReference() libtranslator.TableInterface
- func (f *Upload) GetReferenceName() string
- func (f *Upload) GetRequired() bool
- func (r *Upload) GetReturnDetailsInTests() bool
- func (f *Upload) GoNil() string
- func (f *Upload) GoType() string
- func (f *Upload) GoTypeID() string
- func (f *Upload) GraphqlSchemaType() string
- func (f *Upload) GraphqlType() string
- func (f *Upload) IsNested() bool
- func (r *Upload) IsRepeated() bool
- func (f *Upload) IsStored() bool
- func (r *Upload) IsTranslatable() bool
- func (f *Upload) JSONType() string
- func (f *Upload) NameWithoutID() string
- func (f *Upload) ProtoType() string
- func (f *Upload) ProtoTypeArg() string
- func (f *Upload) ProtoTypeOptional() string
- func (f *Upload) SetPosition(position int)
- func (f *Upload) SetReference(libtranslator.TableInterface)
- func (f *Upload) Snake() string
- func (f *Upload) Title() string
- func (f *Upload) TitleWithoutID() string
- func (f *Upload) Type() libtranslator.PropertyType
- func (f *Upload) Upper() string
Constants ¶
const BinaryPropertyType = libtranslator.PropertyType("BinaryType")
JSONPropertyType contains the field type for JSON
const BooleanPropertyType = libtranslator.PropertyType("BooleanType")
BooleanPropertyType contains the field type for Boolean
const DatePropertyType = libtranslator.PropertyType("DateType")
DatePropertyType contains the field type for Date
const DatetimePropertyType = libtranslator.PropertyType("DatetimeType")
DatetimePropertyType contains the field type for Datetime
const FloatPropertyType = libtranslator.PropertyType("FloatType")
FloatPropertyType contains the field type for Float
const IDPropertyType = libtranslator.PropertyType("IDType")
IDPropertyType contains the field type for ID
const IntegerPropertyType = libtranslator.PropertyType("IntegerType")
IntegerPropertyType contains the field type for Interger
const JSONPropertyType = libtranslator.PropertyType("JSONType")
JSONPropertyType contains the field type for JSON
const Many2manyPropertyType = libtranslator.PropertyType("Many2manyType")
Many2manyPropertyType contains the field type for Many2many
const Many2onePropertyType = libtranslator.PropertyType("Many2oneType")
Many2onePropertyType contains the field type for Many2one
const One2manyPropertyType = libtranslator.PropertyType("One2manyType")
One2manyPropertyType contains the field type for One2many
const SelectionPropertyType = libtranslator.PropertyType("SelectionType")
TextPropertyType contains the field type for Text
const TextPropertyType = libtranslator.PropertyType("TextType")
TextPropertyType contains the field type for Text
const UploadPropertyType = libtranslator.PropertyType("UploadType")
UploadPropertyType contains the field type for Upload
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
JSON is the field type you can use in definition to declare a JSON field.
func (*Binary) DBType ¶
func (f *Binary) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Binary) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Binary) GetLoadedPosition ¶
func (*Binary) GetLoadedPositionMany2one ¶
func (*Binary) GetPosition ¶
func (*Binary) GetPositionMany2one ¶
func (*Binary) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Binary) GetReference ¶
func (f *Binary) GetReference() libtranslator.TableInterface
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Binary) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Binary) GetRequired ¶
GetRequired return if this field is required or not.
func (*Binary) GetReturnDetailsInTests ¶
func (*Binary) GraphqlSchemaType ¶
Type return the type of the field.
func (*Binary) GraphqlType ¶
Type return the type of the field.
func (*Binary) IsRepeated ¶
func (*Binary) IsTranslatable ¶
func (*Binary) NameWithoutID ¶
Title return the title of the field.
func (*Binary) ProtoTypeArg ¶
func (*Binary) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Binary) SetPosition ¶
func (*Binary) SetReference ¶
func (f *Binary) SetReference(libtranslator.TableInterface)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Binary) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Binary) TitleWithoutID ¶
Title return the title of the field.
func (*Binary) Type ¶
func (f *Binary) Type() libtranslator.PropertyType
Type return the type of the field.
type Boolean ¶
type Boolean struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Boolean is the field type you can use in definition to declare a Boolean field.
func (*Boolean) DBType ¶
func (f *Boolean) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Boolean) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Boolean) GetLoadedPosition ¶
func (*Boolean) GetLoadedPositionMany2one ¶
func (*Boolean) GetPosition ¶
func (*Boolean) GetPositionMany2one ¶
func (*Boolean) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Boolean) GetReference ¶
func (f *Boolean) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Boolean) GraphqlSchemaType ¶
Type return the type of the field.
func (*Boolean) GraphqlType ¶
Type return the type of the field.
func (*Boolean) IsRepeated ¶
func (*Boolean) IsTranslatable ¶
func (*Boolean) NameWithoutID ¶
Title return the title of the field.
func (*Boolean) ProtoTypeArg ¶
func (*Boolean) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Boolean) SetPosition ¶
func (*Boolean) SetReference ¶
func (f *Boolean) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Boolean) Type ¶
func (f *Boolean) Type() libtranslator.PropertyType
Type return the type of the field.
type Date ¶
type Date struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Date is the field type you can use in definition to declare a Date field.
func (*Date) DBType ¶
func (f *Date) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Date) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Date) GetLoadedPosition ¶
func (*Date) GetLoadedPositionMany2one ¶
func (*Date) GetPosition ¶
func (*Date) GetPositionMany2one ¶
func (*Date) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Date) GetReference ¶
func (f *Date) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Date) GraphqlSchemaType ¶
Type return the type of the field.
func (*Date) IsRepeated ¶
func (*Date) IsTranslatable ¶
func (*Date) NameWithoutID ¶
Title return the title of the field.
func (*Date) ProtoTypeArg ¶
func (*Date) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Date) SetPosition ¶
func (*Date) SetReference ¶
func (f *Date) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Date) Type ¶
func (f *Date) Type() libtranslator.PropertyType
Type return the type of the field.
type Datetime ¶
type Datetime struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Datetime is the field type you can use in definition to declare a Datetime field.
func (*Datetime) DBType ¶
func (f *Datetime) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Datetime) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Datetime) GetLoadedPosition ¶
func (*Datetime) GetLoadedPositionMany2one ¶
func (*Datetime) GetPosition ¶
func (*Datetime) GetPositionMany2one ¶
func (*Datetime) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Datetime) GetReference ¶
func (f *Datetime) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Datetime) GraphqlSchemaType ¶
Type return the type of the field.
func (*Datetime) GraphqlType ¶
Type return the type of the field.
func (*Datetime) IsRepeated ¶
func (*Datetime) IsTranslatable ¶
func (*Datetime) NameWithoutID ¶
Title return the title of the field.
func (*Datetime) ProtoTypeArg ¶
func (*Datetime) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Datetime) SetPosition ¶
func (*Datetime) SetReference ¶
func (f *Datetime) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Datetime) Type ¶
func (f *Datetime) Type() libtranslator.PropertyType
Type return the type of the field.
type Float ¶
type Float struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Float is the field type you can use in definition to declare a Float field.
func (*Float) DBType ¶
func (f *Float) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Float) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Float) GetLoadedPosition ¶
func (*Float) GetLoadedPositionMany2one ¶
func (*Float) GetPosition ¶
func (*Float) GetPositionMany2one ¶
func (*Float) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Float) GetReference ¶
func (f *Float) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Float) GraphqlSchemaType ¶
Type return the type of the field.
func (*Float) IsRepeated ¶
func (*Float) IsTranslatable ¶
func (*Float) NameWithoutID ¶
Title return the title of the field.
func (*Float) ProtoTypeArg ¶
func (*Float) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Float) SetPosition ¶
func (*Float) SetReference ¶
func (f *Float) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Float) Type ¶
func (f *Float) Type() libtranslator.PropertyType
Type return the type of the field.
type ID ¶
type ID struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
ID is the field type you can use in definition to declare an ID field.
func (*ID) DBType ¶
func (f *ID) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*ID) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*ID) GetLoadedPosition ¶
func (*ID) GetLoadedPositionMany2one ¶
func (*ID) GetPosition ¶
func (*ID) GetPositionMany2one ¶
func (*ID) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*ID) GetReference ¶
func (f *ID) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*ID) GraphqlSchemaType ¶
Type return the type of the field.
func (*ID) IsRepeated ¶
func (*ID) IsTranslatable ¶
func (*ID) ProtoTypeArg ¶
func (*ID) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*ID) SetPosition ¶
func (*ID) SetReference ¶
func (f *ID) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
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 LoadedPosition int Position int }
Integer is the field type you can use in definition to declare an Integer field.
func (*Integer) DBType ¶
func (f *Integer) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Integer) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Integer) GetLoadedPosition ¶
func (*Integer) GetLoadedPositionMany2one ¶
func (*Integer) GetPosition ¶
func (*Integer) GetPositionMany2one ¶
func (*Integer) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Integer) GetReference ¶
func (f *Integer) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Integer) GraphqlSchemaType ¶
Type return the type of the field.
func (*Integer) GraphqlType ¶
Type return the type of the field.
func (*Integer) IsRepeated ¶
func (*Integer) IsTranslatable ¶
func (*Integer) NameWithoutID ¶
Title return the title of the field.
func (*Integer) ProtoTypeArg ¶
func (*Integer) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Integer) SetPosition ¶
func (*Integer) SetReference ¶
func (f *Integer) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Integer) Type ¶
func (f *Integer) Type() libtranslator.PropertyType
Type return the type of the field.
type JSON ¶
type JSON struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
JSON is the field type you can use in definition to declare a JSON field.
func (*JSON) DBType ¶
func (f *JSON) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*JSON) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*JSON) GetLoadedPosition ¶
func (*JSON) GetLoadedPositionMany2one ¶
func (*JSON) GetPosition ¶
func (*JSON) GetPositionMany2one ¶
func (*JSON) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*JSON) GetReference ¶
func (f *JSON) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*JSON) GraphqlSchemaType ¶
Type return the type of the field.
func (*JSON) IsRepeated ¶
func (*JSON) IsTranslatable ¶
func (*JSON) NameWithoutID ¶
Title return the title of the field.
func (*JSON) ProtoTypeArg ¶
func (*JSON) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*JSON) SetPosition ¶
func (*JSON) SetReference ¶
func (f *JSON) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*JSON) Type ¶
func (f *JSON) Type() libtranslator.PropertyType
Type return the type of the field.
type Many2many ¶
type Many2many struct { Name string String string Reference string ReferenceDefinition libtranslator.TableInterface Relation string InverseProperty string TargetProperty string OnDelete libtranslator.OnDeleteValue // ValueObject *libtranslator.ValueObjectDefinition TitleName string DBName string LoadedPosition int Position int LoadedPositionMany2many int PositionMany2many int }
Many2many is the field type you can use in definition to declare a Many2many field.
func (*Many2many) DBType ¶
func (f *Many2many) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Many2many) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) GetLoadedPosition ¶
func (*Many2many) GetLoadedPositionMany2one ¶
func (*Many2many) GetPosition ¶
func (*Many2many) GetPositionMany2one ¶
func (*Many2many) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Many2many) GetReference ¶
func (f *Many2many) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Many2many) GraphqlSchemaType ¶
Type return the type of the field.
func (*Many2many) GraphqlType ¶
Type return the type of the field.
func (*Many2many) InverseSnake ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) InverseTitle ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) InverseUpper ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) IsRepeated ¶
func (*Many2many) IsTranslatable ¶
func (*Many2many) NameWithoutID ¶
Title return the title of the field.
func (*Many2many) ProtoTypeArg ¶
func (*Many2many) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Many2many) RelationTitle ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) RelationUpper ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) SetPosition ¶
func (*Many2many) SetReference ¶
func (f *Many2many) SetReference(d libtranslator.TableInterface)
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) TargetSnake ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) TargetTitle ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2many) TitleWithoutID ¶
Title return the title of the field.
func (*Many2many) Type ¶
func (f *Many2many) Type() libtranslator.PropertyType
Type return the type of the field.
type Many2one ¶
type Many2one struct { Name string String string Reference string ReferenceDefinition libtranslator.TableInterface ReferencePrefix string ReferencePath string Required bool Unique bool OnDelete libtranslator.OnDeleteValue PrimaryKey bool Store bool TitleName string DBName string ReturnDetailsInTests bool LoadedPosition int Position int LoadedPositionMany2one int PositionMany2one int }
Many2one is the field type you can use in definition to declare a Many2one field.
func (*Many2one) DBType ¶
func (f *Many2one) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Many2one) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Many2one) GetLoadedPosition ¶
func (*Many2one) GetLoadedPositionMany2one ¶
func (*Many2one) GetPosition ¶
func (*Many2one) GetPositionMany2one ¶
func (*Many2one) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Many2one) GetReference ¶
func (f *Many2one) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Many2one) GoTypeWithPath ¶
Type return the type of the field.
func (*Many2one) GraphqlSchemaType ¶
Type return the type of the field.
func (*Many2one) GraphqlType ¶
Type return the type of the field.
func (*Many2one) IsRepeated ¶
func (*Many2one) IsTranslatable ¶
func (*Many2one) NameWithoutID ¶
Title return the title of the field.
func (*Many2one) ProtoTypeArg ¶
func (*Many2one) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Many2one) ProtoTypeOptionalArg ¶
ProtoType return the protobuf type for this field.
func (*Many2one) SetPosition ¶
func (*Many2one) SetReference ¶
func (f *Many2one) SetReference(d libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Many2one) Type ¶
func (f *Many2one) Type() libtranslator.PropertyType
Type return the type of the field.
type One2many ¶
type One2many struct { Name string String string Child string ChildDefinition libtranslator.TableInterface InverseProperty string TitleName string DBName string LoadedPosition int Position int }
One2many is the field type you can use in definition to declare a One2many field.
func (*One2many) DBType ¶
func (f *One2many) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*One2many) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*One2many) GetLoadedPosition ¶
func (*One2many) GetLoadedPositionMany2one ¶
func (*One2many) GetPosition ¶
func (*One2many) GetPositionMany2one ¶
func (*One2many) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*One2many) GetReference ¶
func (f *One2many) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*One2many) GraphqlSchemaType ¶
Type return the type of the field.
func (*One2many) GraphqlType ¶
Type return the type of the field.
func (*One2many) InversePropertySnake ¶
GetInverseProperty return the inverse field, if applicable.
func (*One2many) InversePropertyUpper ¶
GetInverseProperty return the inverse field, if applicable.
func (*One2many) IsRepeated ¶
func (*One2many) IsTranslatable ¶
func (*One2many) NameWithoutID ¶
Title return the title of the field.
func (*One2many) ProtoTypeArg ¶
func (*One2many) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*One2many) SetPosition ¶
func (*One2many) SetReference ¶
func (f *One2many) SetReference(d libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*One2many) Type ¶
func (f *One2many) Type() libtranslator.PropertyType
Type return the type of the field.
type Selection ¶
type Selection struct { Name string String string Enum string Required bool Translatable bool TranslatableOptions *TranslatableOptions Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Text is the field type you can use in definition to declare a Text field.
func (*Selection) DBType ¶
func (f *Selection) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Selection) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Selection) GetLoadedPosition ¶
func (*Selection) GetLoadedPositionMany2one ¶
func (*Selection) GetPosition ¶
func (*Selection) GetPositionMany2one ¶
func (*Selection) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Selection) GetReference ¶
func (f *Selection) GetReference() libtranslator.TableInterface
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Selection) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Selection) GetRequired ¶
GetRequired return if this field is required or not.
func (*Selection) GetReturnDetailsInTests ¶
func (*Selection) GraphqlSchemaType ¶
Type return the type of the field.
func (*Selection) GraphqlType ¶
Type return the type of the field.
func (*Selection) IsRepeated ¶
func (*Selection) IsTranslatable ¶
func (*Selection) NameWithoutID ¶
Title return the title of the field.
func (*Selection) ProtoTypeArg ¶
func (*Selection) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Selection) SetPosition ¶
func (*Selection) SetReference ¶
func (f *Selection) SetReference(libtranslator.TableInterface)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Selection) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Selection) TitleWithoutID ¶
Title return the title of the field.
func (*Selection) Type ¶
func (f *Selection) Type() libtranslator.PropertyType
Type return the type of the field.
type Text ¶
type Text struct { Name string String string Required bool Translatable bool TranslatableOptions *TranslatableOptions Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Text is the field type you can use in definition to declare a Text field.
func (*Text) DBType ¶
func (f *Text) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Text) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Text) GetLoadedPosition ¶
func (*Text) GetLoadedPositionMany2one ¶
func (*Text) GetPosition ¶
func (*Text) GetPositionMany2one ¶
func (*Text) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Text) GetReference ¶
func (f *Text) GetReference() libtranslator.TableInterface
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) GetReturnDetailsInTests ¶
func (*Text) GraphqlSchemaType ¶
Type return the type of the field.
func (*Text) IsRepeated ¶
func (*Text) IsTranslatable ¶
func (*Text) NameWithoutID ¶
Title return the title of the field.
func (*Text) ProtoTypeArg ¶
func (*Text) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Text) SetPosition ¶
func (*Text) SetReference ¶
func (f *Text) SetReference(libtranslator.TableInterface)
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) TitleWithoutID ¶
Title return the title of the field.
func (*Text) Type ¶
func (f *Text) Type() libtranslator.PropertyType
Type return the type of the field.
type TranslatableOptions ¶
type Upload ¶
type Upload struct { Name string String string Required bool Unique bool PrimaryKey bool Store bool TitleName string DBName string LoadedPosition int Position int }
Upload is the field type you can use in definition to declare a Upload field.
func (*Upload) DBType ¶
func (f *Upload) DBType() *libtranslator.DBType
ProtoType return the protobuf type for this field.
func (*Upload) GetInverseProperty ¶
GetInverseProperty return the inverse field, if applicable.
func (*Upload) GetLoadedPosition ¶
func (*Upload) GetLoadedPositionMany2one ¶
func (*Upload) GetPosition ¶
func (*Upload) GetPositionMany2one ¶
func (*Upload) GetPrimaryKey ¶
GetPrimaryKey return if this field is a primary key or not.
func (*Upload) GetReference ¶
func (f *Upload) GetReference() libtranslator.TableInterface
GetReferenceDefinition return the definition of referenced model, if this field is linked to another model.
func (*Upload) GetReferenceName ¶
GetReference return the name of referenced model, if this field is linked to another model.
func (*Upload) GetRequired ¶
GetRequired return if this field is required or not.
func (*Upload) GetReturnDetailsInTests ¶
func (*Upload) GraphqlSchemaType ¶
Type return the type of the field.
func (*Upload) GraphqlType ¶
Type return the type of the field.
func (*Upload) IsRepeated ¶
func (*Upload) IsTranslatable ¶
func (*Upload) NameWithoutID ¶
Title return the title of the field.
func (*Upload) ProtoTypeArg ¶
func (*Upload) ProtoTypeOptional ¶
ProtoType return the protobuf type for this field.
func (*Upload) SetPosition ¶
func (*Upload) SetReference ¶
func (f *Upload) SetReference(libtranslator.TableInterface)
SetReferenceDefinition set the definition of referenced model, if this field is linked to another model.
func (*Upload) Snake ¶
Snake return the name of the field, in snake_case. This is essentially used for database.
func (*Upload) TitleWithoutID ¶
Title return the title of the field.
func (*Upload) Type ¶
func (f *Upload) Type() libtranslator.PropertyType
Type return the type of the field.