2021-01-10 23:44:39 +00:00
|
|
|
package app
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
)
|
|
|
|
|
2021-01-12 05:46:24 +00:00
|
|
|
// FolderChannelWrapper wraps the object with the security principal
|
|
|
|
type FolderChannelWrapper struct {
|
|
|
|
// Obj workflow_models.Folder
|
|
|
|
Principal User
|
2021-01-13 05:30:35 +00:00
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
|
|
|
|
2021-01-10 18:40:46 +00:00
|
|
|
// Folder is a first class object type
|
|
|
|
type Folder struct {
|
|
|
|
AccessType string
|
|
|
|
ChildRecordID string
|
|
|
|
ContentOfFolderID string
|
|
|
|
ContentSize int
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
DeveloperName string
|
|
|
|
EnableFolderStatus string
|
|
|
|
FileExtension string
|
|
|
|
FileType string
|
|
|
|
ID string
|
|
|
|
IsFolder bool
|
|
|
|
IsReadonly bool
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
Name string
|
|
|
|
NamespacePrefix string
|
|
|
|
ParentContentFolderID string
|
|
|
|
ParentEntityID string
|
|
|
|
ParentID string
|
|
|
|
Title string
|
|
|
|
Type string
|
|
|
|
}
|