33 lines
712 B
Go
33 lines
712 B
Go
package app
|
|
|
|
import "database/sql"
|
|
|
|
// PDFChannelWrapper wraps the object with workflow params
|
|
type PDFChannelWrapper struct {
|
|
// Obj stash_models.Pdf
|
|
Principal User
|
|
SagaID string
|
|
SagaType string
|
|
}
|
|
|
|
// PDF is a first class object type
|
|
type PDF struct {
|
|
ID string
|
|
CreatedByID string
|
|
CreatedDate sql.NullTime
|
|
Description string
|
|
Filename string
|
|
HTML []byte
|
|
LastAccessedByID string
|
|
LastAccessedDate sql.NullTime
|
|
LastModifiedByID string
|
|
LastModifiedDate sql.NullTime
|
|
ObjectType string
|
|
OwnerID string
|
|
ParentID string
|
|
PDF []byte
|
|
Ref string
|
|
Title string
|
|
URI string
|
|
}
|