calapi/graph/model/event.go
2023-02-24 22:17:45 +01:00

16 lines
371 B
Go

package model
import (
"github.com/Unkn0wnCat/calapi/internal/db_model"
"time"
)
type Event struct {
ID string `json:"id"`
Title string `json:"title"`
Location *Location `json:"location"`
Description string `json:"description"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
DbCalendar *db_model.Calendar
}