mirror of
https://github.com/Unkn0wnCat/calapi.git
synced 2025-06-21 00:46:58 +02:00
Initial commit
This commit is contained in:
commit
15407746e3
37 changed files with 8525 additions and 0 deletions
16
graph/model/event.go
Normal file
16
graph/model/event.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue