---
title: TaskBase
summary: API reference for TaskBase.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# TaskBase

`TaskBase` is a data-carrier contract (DTO) in the Tasks area of SAIF.SAIFCode.Core, exposing the properties SAIF.Services and its consumers read and populate for this entity*.

## Purpose
- Carries data for the Tasks area, consumed by SAIF.Services and other layers that reference this library's contracts*.

## Context
- Namespace: `SAIF.Core.Contracts.Tasks`
- Kind: Class
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `Id` | `long Id { get; set; }` | Represents the ID associated with this TaskBase*. |
| `TaskDate` | `DateTime TaskDate { get; set; }` | Records the date of the task*. |
| `TaskText` | `string TaskText { get; set; }` | Holds free-text text recorded against this TaskBase*. |
| `TaskUser` | `string TaskUser { get; set; }` | Identifies the user tied to the task on this TaskBase*. |
| `IsSavedToNotepad` | `bool IsSavedToNotepad { get; set; }` | Indicates whether saved to notepad applies to this TaskBase*. |
| `IsDeleted` | `bool IsDeleted { get; set; }` | Indicates whether this TaskBase is a deleted*. |
| `ClaimId` | `long? ClaimId { get; set; }` | Uniquely identifies the claim value recorded on this TaskBase*. |
| `PolicyNumber` | `long? PolicyNumber { get; set; }` | Uniquely identifies the policy recorded on this TaskBase*. |
| `ImageId` | `long? ImageId { get; set; }` | References the identifier of the associated image record*. |
| `ContextCode` | `string ContextCode { get; set; }` | Classifies the context using a coded value*. |
| `ContextKey` | `string ContextKey { get; set; }` | Represents the context key associated with this TaskBase*. |
| `ContextCategory` | `string ContextCategory { get; set; }` | Represents the context category associated with this TaskBase*. |
| `ContextText` | `string ContextText { get; set; }` | Holds free-text text recorded against this TaskBase*. |
| `ContextDate` | `DateTime? ContextDate { get; set; }` | Records the date of the context*. |
| `ContextNumber` | `long? ContextNumber { get; set; }` | Uniquely identifies the context recorded on this TaskBase*. |
| `CreateDate` | `DateTime CreateDate { get; set; }` | Records the date of the create*. |
| `CreateUser` | `string CreateUser { get; set; }` | Identifies the user tied to the create on this TaskBase*. |
| `UpdateDate` | `DateTime UpdateDate { get; set; }` | Records the date of the update*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this TaskBase*. |
| `UpdateNumber` | `int UpdateNumber { get; set; }` | Uniquely identifies the update recorded on this TaskBase*. |
| `TaskSecurity` | `string TaskSecurity { get; set; }` | Represents the task security associated with this TaskBase*. |
| `TaskAction` | `TaskAction TaskAction { get; set; }` | Represents the task action associated with this TaskBase*. |
| `TaskCategory` | `TaskCategory TaskCategory { get; set; }` | Represents the task category associated with this TaskBase*. |
| `TaskPriority` | `TaskPriority TaskPriority { get; set; }` | Represents the task priority associated with this TaskBase*. |
| `TaskSource` | `TaskSource TaskSource { get; set; }` | Represents the task source associated with this TaskBase*. |
| `TaskGroup` | `TaskGroup TaskGroup { get; set; }` | Represents the task group associated with this TaskBase*. |
| `DocumentDate` | `DateTime DocumentDate { get; set; }` | Records the date of the document*. |
| `DocumentCategory` | `Category DocumentCategory { get; set; }` | Represents the document category associated with this TaskBase*. |
| `DocumentType` | `DocumentType DocumentType { get; set; }` | Classifies the document type applicable to this TaskBase*. |
| `LegalNoteCategory` | `NoteCategory LegalNoteCategory { set; }` | Represents the legal note category associated with this TaskBase*. |

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- Core/SAIF.Core/Contracts/Tasks/TaskBase.cs
