package app import "database/sql" // PDFChannelWrapper wraps the object with the security principal 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 }