Add existing codebase
This commit is contained in:
commit
e12550a643
25 changed files with 1409 additions and 0 deletions
18
pkg/brainbuffer/task/entity.go
Normal file
18
pkg/brainbuffer/task/entity.go
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package task
|
||||
|
||||
import (
|
||||
"brainbuffer/pkg/brainbuffer/scheduling"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Task struct {
|
||||
ID int64
|
||||
UserID string
|
||||
SchedulingPatterns []scheduling.Pattern
|
||||
Name string
|
||||
Description string
|
||||
Duration time.Duration
|
||||
CreationTime time.Time
|
||||
}
|
||||
|
||||
type Tasks []*Task
|
||||
Loading…
Add table
Add a link
Reference in a new issue