Skip to content

Commit

Permalink
Merge pull request #8 from EvoSched/max
Browse files Browse the repository at this point in the history
Max
  • Loading branch information
AndrewRoe34 authored Jul 17, 2024
2 parents 66162e5 + 62408e2 commit ba353ae
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions internal/models/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,24 @@ import (
)

type Task struct {
ID int
Desc string
TS *TimeStamp
Tags []string
Priority int
ID int
Desc string
Priority int
Tags []string // tags, tags: string tag1,tag2,tag3
Comments []string // comment1,comment2,comment3
StartAt *time.Time // timestamp datetime
EndAt *time.Time
CreatedAt *time.Time
UpdatedAt *time.Time
}

//tasks
//tags
// tag1

//task_tags
//tag_id, taks_id

type TimeStamp struct {
Start *time.Time
End *time.Time
Expand Down

0 comments on commit ba353ae

Please sign in to comment.