lib/app/task.go

62 lines
1.6 KiB
Go
Raw Permalink Normal View History

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
// TaskChannelWrapper wraps the object with the security principal
type TaskChannelWrapper struct {
// Obj workflow_models.Task
Principal User
}
2021-01-10 18:40:46 +00:00
// Task is a first class object type
type Task struct {
AccountID string
ActivityDate sql.NullTime
APIName string
Body string
CallDisposition string
CallDurationInSeconds int
CallObject string
CallType string
CommentCount int
CreatedByID string
CreatedDate sql.NullTime
Description string
ID string
InsertedByID string
IsArchived bool
IsClosed bool
IsDefault bool
IsHighPriority bool
IsRecurrence bool
IsReminderset bool
IsRichText bool
IsVisibleInSelfService bool
IsWhat bool
LastModifiedByID string
LastModifeidDate sql.NullTime
LikeCount int
LinkURL string
MasterLabel string
NetworkScope string
OwnerID string
ParentID string
Priority string
RelationID string
ReminderDateTime sql.NullTime
SortOrder int
Status string
Subject string
TaskID string
TaskSubtype string
Title string
Type string
Visibility string
WhatCount int
WhatID string
WhoCount int
WhoID string
}