Semaphore/models/Event.go
Matej Kramny ea0245b550 Events
- Complete more UI work
- Show events on dashboard & project dashboard
- Show list of tasks
2016-04-16 20:42:57 +01:00

15 lines
455 B
Go

package models
import "time"
type Event struct {
ProjectID *int `db:"project_id" json:"project_id"`
ObjectID *int `db:"object_id" json:"object_id"`
ObjectType *string `db:"object_type" json:"object_type"`
Description *string `db:"description" json:"description"`
Created time.Time `db:"created" json:"created"`
ObjectName string `db:"-" json:"object_name"`
ProjectName *string `db:"project_name" json:"project_name"`
}