25 lines
325 B
Go
25 lines
325 B
Go
|
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
|
||
|
}
|