Add Plan page with day planner

This commit is contained in:
Martin Pander
2022-11-26 18:41:39 +01:00
parent d9b92ab4e9
commit 32346e0aa9
48 changed files with 2400 additions and 148 deletions

View File

@ -0,0 +1,25 @@
package models
import (
"gorm.io/datatypes"
)
type PlanDay struct {
Date datatypes.Date `gorm:"primaryKey"`
Morning datatypes.JSON
Midday datatypes.JSON
Afternoon datatypes.JSON
Evening datatypes.JSON
Pleasant datatypes.JSON
Reminders datatypes.JSON
}
type PlanWeek struct {
Date datatypes.Date `gorm:"primaryKey"`
Items datatypes.JSON
}
type PlanMonth struct {
Date datatypes.Date `gorm:"primaryKey"`
Items datatypes.JSON
}