This commit is contained in:
Martin Pander
2023-12-09 19:34:45 +01:00
parent 32346e0aa9
commit 8addda35ea
144 changed files with 7247 additions and 3268 deletions

View File

@ -0,0 +1,6 @@
package models
type Inbox struct {
Id int32 `gorm:"primaryKey"`
Item string
}

View File

@ -17,8 +17,15 @@ type PlanDay struct {
type PlanWeek struct {
Date datatypes.Date `gorm:"primaryKey"`
Items datatypes.JSON
// Items []PlanWeekItem
}
// type PlanWeekItem struct {
// Item string
// NumTodo int32
// NumDone int32
// }
type PlanMonth struct {
Date datatypes.Date `gorm:"primaryKey"`
Items datatypes.JSON

View File

@ -0,0 +1,19 @@
package models
import (
"time"
"gorm.io/datatypes"
)
type TrackingCategory struct {
Name string `gorm:"primaryKey"`
Type string
Items datatypes.JSON
}
type TrackingItem struct {
Date time.Time `gorm:"primaryKey"`
Type string `gorm:"primaryKey"`
Value string `json:"value"`
}