lib/app/pdf.go

31 lines
683 B
Go

package app
import "database/sql"
// PDFChannelWrapper wraps the object with the security principal
type PDFChannelWrapper struct {
// Obj stash_models.Pdf
Principal User
}
// 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
}