From 2f27f724508c4f495bf5a839f0d5a8038a197d8c Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Tue, 21 Dec 2021 19:23:34 +0800 Subject: [PATCH] update --- calendar/calendar.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 calendar/calendar.go diff --git a/calendar/calendar.go b/calendar/calendar.go new file mode 100644 index 0000000..6550ea7 --- /dev/null +++ b/calendar/calendar.go @@ -0,0 +1,24 @@ +package calendar + +import "time" + +type Calendar struct { + ID uint `gorm:"primaryKey"` + + CreatedAt time.Time + UpdatedAt time.Time +} + +type EventGroup struct { + ID uint `gorm:"primaryKey"` + + CreatedAt time.Time + UpdatedAt time.Time +} + +type Event struct { + ID uint `gorm:"primaryKey"` + + CreatedAt time.Time + UpdatedAt time.Time +}