func (entity_EntityInfo) Load(ob *objectbox.ObjectBox, bytes []byte) (interface{}, error) {
	if len(bytes) == 0 {  
		return nil, errors.New("can't deserialize an object of type 'Entity' - no data received")
	}
	var table = &flatbuffers.Table{
		Bytes: bytes,
		Pos:   flatbuffers.GetUOffsetT(bytes),
	}
	var propId = table.GetUint64Slot(4, 0)
	propDate, err := objectbox.TimeInt64ConvertToEntityProperty(fbutils.GetInt64Slot(table, 40))
	if err != nil {
		return nil, errors.New("converter objectbox.TimeInt64ConvertToEntityProperty() failed on Entity.Date: " + err.Error())
	}
	propComplex128, err := complex128BytesToEntityProperty(fbutils.GetByteVectorSlot(table, 42))
	if err != nil {
		return nil, errors.New("converter complex128BytesToEntityProperty() failed on Entity.Complex128: " + err.Error())
	}
	var relRelated *TestEntityRelated
	if rId := fbutils.GetUint64Slot(table, 46); rId > 0 {
		if rObject, err := BoxForTestEntityRelated(ob).Get(rId); err != nil {
			return nil, err
		} else if rObject == nil {
			relRelated = &TestEntityRelated{}
		} else {
			relRelated = rObject
		}
	} else {
		relRelated = &TestEntityRelated{}
	}
	var relRelatedPtr *TestEntityRelated
	if rId := fbutils.GetUint64PtrSlot(table, 48); rId != nil && *rId > 0 {
		if rObject, err := BoxForTestEntityRelated(ob).Get(*rId); err != nil {
			return nil, err
		} else {
			relRelatedPtr = rObject
		}
	}
	var relRelatedPtr2 *TestEntityRelated
	if rId := fbutils.GetUint64PtrSlot(table, 50); rId != nil && *rId > 0 {
		if rObject, err := BoxForTestEntityRelated(ob).Get(*rId); err != nil {
			return nil, err
		} else {
			relRelatedPtr2 = rObject
		}
	}
	var relRelatedSlice []EntityByValue
	if rIds, err := BoxForEntity(ob).RelationIds(Entity_.RelatedSlice, propId); err != nil {
		return nil, err
	} else if rSlice, err := BoxForEntityByValue(ob).GetManyExisting(rIds...); err != nil {
		return nil, err
	} else {
		relRelatedSlice = rSlice
	}
	return &Entity{
		Id:              propId,
		Int:             fbutils.GetIntSlot(table, 6),
		Int8:            fbutils.GetInt8Slot(table, 8),
		Int16:           fbutils.GetInt16Slot(table, 10),
		Int32:           fbutils.GetInt32Slot(table, 12),
		Int64:           fbutils.GetInt64Slot(table, 14),
		Uint:            fbutils.GetUintSlot(table, 16),
		Uint8:           fbutils.GetUint8Slot(table, 18),
		Uint16:          fbutils.GetUint16Slot(table, 20),
		Uint32:          fbutils.GetUint32Slot(table, 22),
		Uint64:          fbutils.GetUint64Slot(table, 24),
		Bool:            fbutils.GetBoolSlot(table, 26),
		String:          fbutils.GetStringSlot(table, 28),
		StringVector:    fbutils.GetStringVectorSlot(table, 44),
		Byte:            fbutils.GetByteSlot(table, 30),
		ByteVector:      fbutils.GetByteVectorSlot(table, 32),
		Rune:            fbutils.GetRuneSlot(table, 34),
		Float32:         fbutils.GetFloat32Slot(table, 36),
		Float64:         fbutils.GetFloat64Slot(table, 38),
		Date:            propDate,
		Complex128:      propComplex128,
		Related:         *relRelated,
		RelatedPtr:      relRelatedPtr,
		RelatedPtr2:     relRelatedPtr2,
		RelatedSlice:    relRelatedSlice,
		RelatedPtrSlice: nil,  
		IntPtr:          fbutils.GetIntPtrSlot(table, 52),
		Int8Ptr:         fbutils.GetInt8PtrSlot(table, 54),
		Int16Ptr:        fbutils.GetInt16PtrSlot(table, 56),
		Int32Ptr:        fbutils.GetInt32PtrSlot(table, 58),
		Int64Ptr:        fbutils.GetInt64PtrSlot(table, 60),
		UintPtr:         fbutils.GetUintPtrSlot(table, 62),
		Uint8Ptr:        fbutils.GetUint8PtrSlot(table, 64),
		Uint16Ptr:       fbutils.GetUint16PtrSlot(table, 66),
		Uint32Ptr:       fbutils.GetUint32PtrSlot(table, 68),
		Uint64Ptr:       fbutils.GetUint64PtrSlot(table, 70),
		BoolPtr:         fbutils.GetBoolPtrSlot(table, 72),
		StringPtr:       fbutils.GetStringPtrSlot(table, 74),
		StringVectorPtr: fbutils.GetStringVectorPtrSlot(table, 88),
		BytePtr:         fbutils.GetBytePtrSlot(table, 78),
		ByteVectorPtr:   fbutils.GetByteVectorPtrSlot(table, 90),
		RunePtr:         fbutils.GetRunePtrSlot(table, 82),
		Float32Ptr:      fbutils.GetFloat32PtrSlot(table, 84),
		Float64Ptr:      fbutils.GetFloat64PtrSlot(table, 86),
	}, nil
}
Load is called by ObjectBox to load an object from a FlatBuffer
package model
import (
	"errors"
	"github.com/google/flatbuffers/go"
	"github.com/objectbox/objectbox-go/objectbox"
	"github.com/objectbox/objectbox-go/objectbox/fbutils"
)
type entity_EntityInfo struct {
	objectbox.Entity
	Uid uint64
}
var EntityBinding = entity_EntityInfo{
	Entity: objectbox.Entity{
		Id: 1,
	},
	Uid: 3022148985475790732,
}
var Entity_ = struct {
	Id              *objectbox.PropertyUint64
	Int             *objectbox.PropertyInt
	Int8            *objectbox.PropertyInt8
	Int16           *objectbox.PropertyInt16
	Int32           *objectbox.PropertyInt32
	Int64           *objectbox.PropertyInt64
	Uint            *objectbox.PropertyUint
	Uint8           *objectbox.PropertyUint8
	Uint16          *objectbox.PropertyUint16
	Uint32          *objectbox.PropertyUint32
	Uint64          *objectbox.PropertyUint64
	Bool            *objectbox.PropertyBool
	String          *objectbox.PropertyString
	Byte            *objectbox.PropertyByte
	ByteVector      *objectbox.PropertyByteVector
	Rune            *objectbox.PropertyRune
	Float32         *objectbox.PropertyFloat32
	Float64         *objectbox.PropertyFloat64
	Date            *objectbox.PropertyInt64
	Complex128      *objectbox.PropertyByteVector
	StringVector    *objectbox.PropertyStringVector
	Related         *objectbox.RelationToOne
	RelatedPtr      *objectbox.RelationToOne
	RelatedPtr2     *objectbox.RelationToOne
	IntPtr          *objectbox.PropertyInt
	Int8Ptr         *objectbox.PropertyInt8
	Int16Ptr        *objectbox.PropertyInt16
	Int32Ptr        *objectbox.PropertyInt32
	Int64Ptr        *objectbox.PropertyInt64
	UintPtr         *objectbox.PropertyUint
	Uint8Ptr        *objectbox.PropertyUint8
	Uint16Ptr       *objectbox.PropertyUint16
	Uint32Ptr       *objectbox.PropertyUint32
	Uint64Ptr       *objectbox.PropertyUint64
	BoolPtr         *objectbox.PropertyBool
	StringPtr       *objectbox.PropertyString
	BytePtr         *objectbox.PropertyByte
	RunePtr         *objectbox.PropertyRune
	Float32Ptr      *objectbox.PropertyFloat32
	Float64Ptr      *objectbox.PropertyFloat64
	StringVectorPtr *objectbox.PropertyStringVector
	ByteVectorPtr   *objectbox.PropertyByteVector
	RelatedSlice    *objectbox.RelationToMany
	RelatedPtrSlice *objectbox.RelationToMany
}{
	Id: &objectbox.PropertyUint64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     1,
			Entity: &EntityBinding.Entity,
		},
	},
	Int: &objectbox.PropertyInt{
		BaseProperty: &objectbox.BaseProperty{
			Id:     2,
			Entity: &EntityBinding.Entity,
		},
	},
	Int8: &objectbox.PropertyInt8{
		BaseProperty: &objectbox.BaseProperty{
			Id:     3,
			Entity: &EntityBinding.Entity,
		},
	},
	Int16: &objectbox.PropertyInt16{
		BaseProperty: &objectbox.BaseProperty{
			Id:     4,
			Entity: &EntityBinding.Entity,
		},
	},
	Int32: &objectbox.PropertyInt32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     5,
			Entity: &EntityBinding.Entity,
		},
	},
	Int64: &objectbox.PropertyInt64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     6,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint: &objectbox.PropertyUint{
		BaseProperty: &objectbox.BaseProperty{
			Id:     7,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint8: &objectbox.PropertyUint8{
		BaseProperty: &objectbox.BaseProperty{
			Id:     8,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint16: &objectbox.PropertyUint16{
		BaseProperty: &objectbox.BaseProperty{
			Id:     9,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint32: &objectbox.PropertyUint32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     10,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint64: &objectbox.PropertyUint64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     11,
			Entity: &EntityBinding.Entity,
		},
	},
	Bool: &objectbox.PropertyBool{
		BaseProperty: &objectbox.BaseProperty{
			Id:     12,
			Entity: &EntityBinding.Entity,
		},
	},
	String: &objectbox.PropertyString{
		BaseProperty: &objectbox.BaseProperty{
			Id:     13,
			Entity: &EntityBinding.Entity,
		},
	},
	Byte: &objectbox.PropertyByte{
		BaseProperty: &objectbox.BaseProperty{
			Id:     14,
			Entity: &EntityBinding.Entity,
		},
	},
	ByteVector: &objectbox.PropertyByteVector{
		BaseProperty: &objectbox.BaseProperty{
			Id:     15,
			Entity: &EntityBinding.Entity,
		},
	},
	Rune: &objectbox.PropertyRune{
		BaseProperty: &objectbox.BaseProperty{
			Id:     16,
			Entity: &EntityBinding.Entity,
		},
	},
	Float32: &objectbox.PropertyFloat32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     17,
			Entity: &EntityBinding.Entity,
		},
	},
	Float64: &objectbox.PropertyFloat64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     18,
			Entity: &EntityBinding.Entity,
		},
	},
	Date: &objectbox.PropertyInt64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     19,
			Entity: &EntityBinding.Entity,
		},
	},
	Complex128: &objectbox.PropertyByteVector{
		BaseProperty: &objectbox.BaseProperty{
			Id:     20,
			Entity: &EntityBinding.Entity,
		},
	},
	StringVector: &objectbox.PropertyStringVector{
		BaseProperty: &objectbox.BaseProperty{
			Id:     21,
			Entity: &EntityBinding.Entity,
		},
	},
	Related: &objectbox.RelationToOne{
		Property: &objectbox.BaseProperty{
			Id:     22,
			Entity: &EntityBinding.Entity,
		},
		Target: &TestEntityRelatedBinding.Entity,
	},
	RelatedPtr: &objectbox.RelationToOne{
		Property: &objectbox.BaseProperty{
			Id:     23,
			Entity: &EntityBinding.Entity,
		},
		Target: &TestEntityRelatedBinding.Entity,
	},
	RelatedPtr2: &objectbox.RelationToOne{
		Property: &objectbox.BaseProperty{
			Id:     24,
			Entity: &EntityBinding.Entity,
		},
		Target: &TestEntityRelatedBinding.Entity,
	},
	IntPtr: &objectbox.PropertyInt{
		BaseProperty: &objectbox.BaseProperty{
			Id:     25,
			Entity: &EntityBinding.Entity,
		},
	},
	Int8Ptr: &objectbox.PropertyInt8{
		BaseProperty: &objectbox.BaseProperty{
			Id:     26,
			Entity: &EntityBinding.Entity,
		},
	},
	Int16Ptr: &objectbox.PropertyInt16{
		BaseProperty: &objectbox.BaseProperty{
			Id:     27,
			Entity: &EntityBinding.Entity,
		},
	},
	Int32Ptr: &objectbox.PropertyInt32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     28,
			Entity: &EntityBinding.Entity,
		},
	},
	Int64Ptr: &objectbox.PropertyInt64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     29,
			Entity: &EntityBinding.Entity,
		},
	},
	UintPtr: &objectbox.PropertyUint{
		BaseProperty: &objectbox.BaseProperty{
			Id:     30,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint8Ptr: &objectbox.PropertyUint8{
		BaseProperty: &objectbox.BaseProperty{
			Id:     31,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint16Ptr: &objectbox.PropertyUint16{
		BaseProperty: &objectbox.BaseProperty{
			Id:     32,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint32Ptr: &objectbox.PropertyUint32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     33,
			Entity: &EntityBinding.Entity,
		},
	},
	Uint64Ptr: &objectbox.PropertyUint64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     34,
			Entity: &EntityBinding.Entity,
		},
	},
	BoolPtr: &objectbox.PropertyBool{
		BaseProperty: &objectbox.BaseProperty{
			Id:     35,
			Entity: &EntityBinding.Entity,
		},
	},
	StringPtr: &objectbox.PropertyString{
		BaseProperty: &objectbox.BaseProperty{
			Id:     36,
			Entity: &EntityBinding.Entity,
		},
	},
	BytePtr: &objectbox.PropertyByte{
		BaseProperty: &objectbox.BaseProperty{
			Id:     38,
			Entity: &EntityBinding.Entity,
		},
	},
	RunePtr: &objectbox.PropertyRune{
		BaseProperty: &objectbox.BaseProperty{
			Id:     40,
			Entity: &EntityBinding.Entity,
		},
	},
	Float32Ptr: &objectbox.PropertyFloat32{
		BaseProperty: &objectbox.BaseProperty{
			Id:     41,
			Entity: &EntityBinding.Entity,
		},
	},
	Float64Ptr: &objectbox.PropertyFloat64{
		BaseProperty: &objectbox.BaseProperty{
			Id:     42,
			Entity: &EntityBinding.Entity,
		},
	},
	StringVectorPtr: &objectbox.PropertyStringVector{
		BaseProperty: &objectbox.BaseProperty{
			Id:     43,
			Entity: &EntityBinding.Entity,
		},
	},
	ByteVectorPtr: &objectbox.PropertyByteVector{
		BaseProperty: &objectbox.BaseProperty{
			Id:     44,
			Entity: &EntityBinding.Entity,
		},
	},
	RelatedSlice: &objectbox.RelationToMany{
		Id:     4,
		Source: &EntityBinding.Entity,
		Target: &EntityByValueBinding.Entity,
	},
	RelatedPtrSlice: &objectbox.RelationToMany{
		Id:     5,
		Source: &EntityBinding.Entity,
		Target: &TestEntityRelatedBinding.Entity,
	},
}
func (entity_EntityInfo) GeneratorVersion() int {
	return 6
}
func (entity_EntityInfo) AddToModel(model *objectbox.Model) {
	model.Entity("Entity", 1, 3022148985475790732)
	model.Property("Id", 6, 1, 1213346202559552829)
	model.PropertyFlags(1)
	model.Property("Int", 6, 2, 6609825840127351046)
	model.Property("Int8", 2, 3, 741904540265547276)
	model.Property("Int16", 3, 4, 2102961483425256790)
	model.Property("Int32", 5, 5, 5086065890743931723)
	model.Property("Int64", 6, 6, 7993850425898343586)
	model.Property("Uint", 6, 7, 993618338451248101)
	model.PropertyFlags(8192)
	model.Property("Uint8", 2, 8, 8794162191867215541)
	model.PropertyFlags(8192)
	model.Property("Uint16", 3, 9, 8820932096807845950)
	model.PropertyFlags(8192)
	model.Property("Uint32", 5, 10, 6060435196424462358)
	model.PropertyFlags(8192)
	model.Property("Uint64", 6, 11, 6159011311237949479)
	model.PropertyFlags(8192)
	model.Property("Bool", 1, 12, 13717766026420552)
	model.Property("String", 9, 13, 3525810560076343996)
	model.Property("Byte", 2, 14, 4035373893984224671)
	model.PropertyFlags(8192)
	model.Property("ByteVector", 23, 15, 1294888641203478533)
	model.Property("Rune", 5, 16, 445652208596094853)
	model.Property("Float32", 7, 17, 2321055489159952634)
	model.Property("Float64", 8, 18, 681625187526498317)
	model.Property("Date", 10, 19, 2927532418453906842)
	model.Property("Complex128", 23, 20, 2323084480359838337)
	model.Property("StringVector", 30, 21, 3893192683529392073)
	model.Property("Related", 11, 22, 6981354105569415135)
	model.PropertyFlags(520)
	model.PropertyRelation("TestEntityRelated", 1, 7297830522090799401)
	model.Property("RelatedPtr", 11, 23, 2938782103279095882)
	model.PropertyFlags(520)
	model.PropertyRelation("TestEntityRelated", 2, 1636618737379039866)
	model.Property("RelatedPtr2", 11, 24, 7776035803207726954)
	model.PropertyFlags(520)
	model.PropertyRelation("TestEntityRelated", 3, 6077259218141868916)
	model.Property("IntPtr", 6, 25, 373339162565757738)
	model.Property("Int8Ptr", 2, 26, 4408376776468442700)
	model.Property("Int16Ptr", 3, 27, 7767638672655087796)
	model.Property("Int32Ptr", 5, 28, 4484862171635994061)
	model.Property("Int64Ptr", 6, 29, 5702162443518573921)
	model.Property("UintPtr", 6, 30, 1419849538019864166)
	model.PropertyFlags(8192)
	model.Property("Uint8Ptr", 2, 31, 5666684665126533193)
	model.PropertyFlags(8192)
	model.Property("Uint16Ptr", 3, 32, 588273992483456755)
	model.PropertyFlags(8192)
	model.Property("Uint32Ptr", 5, 33, 1921936640604795696)
	model.PropertyFlags(8192)
	model.Property("Uint64Ptr", 6, 34, 508303024901376893)
	model.PropertyFlags(8192)
	model.Property("BoolPtr", 1, 35, 8481118512070824875)
	model.Property("StringPtr", 9, 36, 8409889434685629914)
	model.Property("BytePtr", 2, 38, 7395768407310126147)
	model.PropertyFlags(8192)
	model.Property("RunePtr", 5, 40, 5826738612842297282)
	model.Property("Float32Ptr", 7, 41, 8081176555310747578)
	model.Property("Float64Ptr", 8, 42, 9203830121246076395)
	model.Property("StringVectorPtr", 30, 43, 4222000762705400780)
	model.Property("ByteVectorPtr", 23, 44, 6100401720382402484)
	model.EntityLastPropertyId(44, 6100401720382402484)
	model.Relation(4, 5379891792880176678, EntityByValueBinding.Id, EntityByValueBinding.Uid)
	model.Relation(5, 1694321226239708534, TestEntityRelatedBinding.Id, TestEntityRelatedBinding.Uid)
}
func (entity_EntityInfo) GetId(object interface{}) (uint64, error) {
	return object.(*Entity).Id, nil
}
func (entity_EntityInfo) SetId(object interface{}, id uint64) error {
	object.(*Entity).Id = id
	return nil
}
func (entity_EntityInfo) PutRelated(ob *objectbox.ObjectBox, object interface{}, id uint64) error {
	if rel := &object.(*Entity).Related; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else if rId == 0 {
			if _, err := BoxForTestEntityRelated(ob).Put(rel); err != nil {
				return err
			}
		}
	}
	if rel := object.(*Entity).RelatedPtr; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else if rId == 0 {
			if _, err := BoxForTestEntityRelated(ob).Put(rel); err != nil {
				return err
			}
		}
	}
	if rel := object.(*Entity).RelatedPtr2; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else if rId == 0 {
			if _, err := BoxForTestEntityRelated(ob).Put(rel); err != nil {
				return err
			}
		}
	}
	if err := BoxForEntity(ob).RelationReplace(Entity_.RelatedSlice, id, object, object.(*Entity).RelatedSlice); err != nil {
		return err
	}
	if object.(*Entity).RelatedPtrSlice != nil {  
		if err := BoxForEntity(ob).RelationReplace(Entity_.RelatedPtrSlice, id, object, object.(*Entity).RelatedPtrSlice); err != nil {
			return err
		}
	}
	return nil
}
func (entity_EntityInfo) Flatten(object interface{}, fbb *flatbuffers.Builder, id uint64) error {
	obj := object.(*Entity)
	var propDate int64
	{
		var err error
		propDate, err = objectbox.TimeInt64ConvertToDatabaseValue(obj.Date)
		if err != nil {
			return errors.New("converter objectbox.TimeInt64ConvertToDatabaseValue() failed on Entity.Date: " + err.Error())
		}
	}
	var propComplex128 []byte
	{
		var err error
		propComplex128, err = complex128BytesToDatabaseValue(obj.Complex128)
		if err != nil {
			return errors.New("converter complex128BytesToDatabaseValue() failed on Entity.Complex128: " + err.Error())
		}
	}
	var offsetString = fbutils.CreateStringOffset(fbb, obj.String)
	var offsetByteVector = fbutils.CreateByteVectorOffset(fbb, obj.ByteVector)
	var offsetComplex128 = fbutils.CreateByteVectorOffset(fbb, propComplex128)
	var offsetStringVector = fbutils.CreateStringVectorOffset(fbb, obj.StringVector)
	var offsetStringPtr flatbuffers.UOffsetT
	if obj.StringPtr != nil {
		offsetStringPtr = fbutils.CreateStringOffset(fbb, *obj.StringPtr)
	}
	var offsetStringVectorPtr flatbuffers.UOffsetT
	if obj.StringVectorPtr != nil {
		offsetStringVectorPtr = fbutils.CreateStringVectorOffset(fbb, *obj.StringVectorPtr)
	}
	var offsetByteVectorPtr flatbuffers.UOffsetT
	if obj.ByteVectorPtr != nil {
		offsetByteVectorPtr = fbutils.CreateByteVectorOffset(fbb, *obj.ByteVectorPtr)
	}
	var rIdRelated uint64
	if rel := &obj.Related; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else {
			rIdRelated = rId
		}
	}
	var rIdRelatedPtr uint64
	if rel := obj.RelatedPtr; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else {
			rIdRelatedPtr = rId
		}
	}
	var rIdRelatedPtr2 uint64
	if rel := obj.RelatedPtr2; rel != nil {
		if rId, err := TestEntityRelatedBinding.GetId(rel); err != nil {
			return err
		} else {
			rIdRelatedPtr2 = rId
		}
	}
	fbb.StartObject(44)
	fbutils.SetUint64Slot(fbb, 0, id)
	fbutils.SetInt64Slot(fbb, 1, int64(obj.Int))
	fbutils.SetInt8Slot(fbb, 2, obj.Int8)
	fbutils.SetInt16Slot(fbb, 3, obj.Int16)
	fbutils.SetInt32Slot(fbb, 4, obj.Int32)
	fbutils.SetInt64Slot(fbb, 5, obj.Int64)
	fbutils.SetUint64Slot(fbb, 6, uint64(obj.Uint))
	fbutils.SetUint8Slot(fbb, 7, obj.Uint8)
	fbutils.SetUint16Slot(fbb, 8, obj.Uint16)
	fbutils.SetUint32Slot(fbb, 9, obj.Uint32)
	fbutils.SetUint64Slot(fbb, 10, obj.Uint64)
	fbutils.SetBoolSlot(fbb, 11, obj.Bool)
	fbutils.SetUOffsetTSlot(fbb, 12, offsetString)
	fbutils.SetUOffsetTSlot(fbb, 20, offsetStringVector)
	fbutils.SetUint8Slot(fbb, 13, obj.Byte)
	fbutils.SetUOffsetTSlot(fbb, 14, offsetByteVector)
	fbutils.SetInt32Slot(fbb, 15, obj.Rune)
	fbutils.SetFloat32Slot(fbb, 16, obj.Float32)
	fbutils.SetFloat64Slot(fbb, 17, obj.Float64)
	fbutils.SetInt64Slot(fbb, 18, propDate)
	fbutils.SetUOffsetTSlot(fbb, 19, offsetComplex128)
	fbutils.SetUint64Slot(fbb, 21, rIdRelated)
	if obj.RelatedPtr != nil {
		fbutils.SetUint64Slot(fbb, 22, rIdRelatedPtr)
	}
	if obj.RelatedPtr2 != nil {
		fbutils.SetUint64Slot(fbb, 23, rIdRelatedPtr2)
	}
	if obj.IntPtr != nil {
		fbutils.SetInt64Slot(fbb, 24, int64(*obj.IntPtr))
	}
	if obj.Int8Ptr != nil {
		fbutils.SetInt8Slot(fbb, 25, *obj.Int8Ptr)
	}
	if obj.Int16Ptr != nil {
		fbutils.SetInt16Slot(fbb, 26, *obj.Int16Ptr)
	}
	if obj.Int32Ptr != nil {
		fbutils.SetInt32Slot(fbb, 27, *obj.Int32Ptr)
	}
	if obj.Int64Ptr != nil {
		fbutils.SetInt64Slot(fbb, 28, *obj.Int64Ptr)
	}
	if obj.UintPtr != nil {
		fbutils.SetUint64Slot(fbb, 29, uint64(*obj.UintPtr))
	}
	if obj.Uint8Ptr != nil {
		fbutils.SetUint8Slot(fbb, 30, *obj.Uint8Ptr)
	}
	if obj.Uint16Ptr != nil {
		fbutils.SetUint16Slot(fbb, 31, *obj.Uint16Ptr)
	}
	if obj.Uint32Ptr != nil {
		fbutils.SetUint32Slot(fbb, 32, *obj.Uint32Ptr)
	}
	if obj.Uint64Ptr != nil {
		fbutils.SetUint64Slot(fbb, 33, *obj.Uint64Ptr)
	}
	if obj.BoolPtr != nil {
		fbutils.SetBoolSlot(fbb, 34, *obj.BoolPtr)
	}
	if obj.StringPtr != nil {
		fbutils.SetUOffsetTSlot(fbb, 35, offsetStringPtr)
	}
	if obj.StringVectorPtr != nil {
		fbutils.SetUOffsetTSlot(fbb, 42, offsetStringVectorPtr)
	}
	if obj.BytePtr != nil {
		fbutils.SetUint8Slot(fbb, 37, *obj.BytePtr)
	}
	if obj.ByteVectorPtr != nil {
		fbutils.SetUOffsetTSlot(fbb, 43, offsetByteVectorPtr)
	}
	if obj.RunePtr != nil {
		fbutils.SetInt32Slot(fbb, 39, *obj.RunePtr)
	}
	if obj.Float32Ptr != nil {
		fbutils.SetFloat32Slot(fbb, 40, *obj.Float32Ptr)
	}
	if obj.Float64Ptr != nil {
		fbutils.SetFloat64Slot(fbb, 41, *obj.Float64Ptr)
	}
	return nil
}