Initial commit

This commit is contained in:
Kevin Kandlbinder 2023-02-24 22:17:45 +01:00
commit 15407746e3
37 changed files with 8525 additions and 0 deletions

View file

@ -0,0 +1,21 @@
package db_model
import "time"
//go:generate go run github.com/objectbox/objectbox-go/cmd/objectbox-gogen
type Event struct {
Id uint64
Title string
Description string
Calendar *Calendar `objectbox:"link"`
LocationLat float64
LocationLon float64
LocationName string
LocationAddr string
Start time.Time `objectbox:"date,index"`
End time.Time `objectbox:"date,index"`
DateCreated time.Time `objectbox:"date"`
}