Files
geek-life/model/project.go

15 lines
537 B
Go

package model
import "time"
// Project represent a collection of related tasks (tags of Habitica)
type Project struct {
ID int64 `storm:"id,increment" db:"id" json:"id"`
TenantID int64 `db:"tenant_id" json:"tenant_id"`
UserID int64 `db:"user_id" json:"user_id"`
Title string `storm:"index" db:"title" json:"title"`
UUID string `storm:"unique" db:"uuid" json:"uuid,omitempty"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
}