20 lines
464 B
Go
20 lines
464 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/jinzhu/gorm"
|
|
"github.com/jinzhu/gorm/dialects/postgres"
|
|
)
|
|
|
|
type DecisionSupportFile struct {
|
|
gorm.Model
|
|
Title string `json:"title"`
|
|
Sections postgres.Jsonb `json:"sections"`
|
|
Status string `json:"status"`
|
|
WorkgroupID uint `json:"-"`
|
|
Workgroup *Workgroup `json:"workgroup"`
|
|
VotedAt time.Time `json:"votedAt"`
|
|
ClosedAt time.Time `json:"closedAt"`
|
|
}
|