mirror of
https://github.com/Unkn0wnCat/calapi.git
synced 2025-07-09 08:47:15 +02:00
Initial commit
This commit is contained in:
commit
15407746e3
37 changed files with 8525 additions and 0 deletions
21
internal/db_model/objectbox-model.go
Normal file
21
internal/db_model/objectbox-model.go
Normal file
|
@ -0,0 +1,21 @@
|
|||
// Code generated by ObjectBox; DO NOT EDIT.
|
||||
|
||||
package db_model
|
||||
|
||||
import (
|
||||
"github.com/objectbox/objectbox-go/objectbox"
|
||||
)
|
||||
|
||||
// ObjectBoxModel declares and builds the model from all the entities in the package.
|
||||
// It is usually used when setting-up ObjectBox as an argument to the Builder.Model() function.
|
||||
func ObjectBoxModel() *objectbox.Model {
|
||||
model := objectbox.NewModel()
|
||||
model.GeneratorVersion(6)
|
||||
|
||||
model.RegisterBinding(EventBinding)
|
||||
model.RegisterBinding(CalendarBinding)
|
||||
model.LastEntityId(2, 3479788557646175786)
|
||||
model.LastIndexId(3, 2695485223480358088)
|
||||
|
||||
return model
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue