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

# DocumentTemplateParameter

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

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

## Context
- Namespace: `SAIF.Core.Contracts.Documents`
- 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 DocumentTemplateParameter*. |
| `TemplateId` | `long TemplateId { get; set; }` | References the identifier of the associated template record*. |
| `RequestId` | `long RequestId { get; set; }` | References the identifier of the associated request record*. |
| `ParameterNumber` | `int ParameterNumber { get; set; }` | Uniquely identifies the parameter recorded on this DocumentTemplateParameter*. |
| `ParameterType` | `string ParameterType { get; set; }` | Classifies the parameter type applicable to this DocumentTemplateParameter*. |
| `XmlName` | `string XmlName { get; set; }` | Holds the xml name recorded on this DocumentTemplateParameter*. |
| `XmlGroup` | `string XmlGroup { get; set; }` | Represents the xml group associated with this DocumentTemplateParameter*. |
| `DataSource` | `string DataSource { get; set; }` | Represents the data source associated with this DocumentTemplateParameter*. |
| `DataType` | `string DataType { get; set; }` | Classifies the data type applicable to this DocumentTemplateParameter*. |
| `Prompt` | `string Prompt { get; set; }` | Represents the prompt associated with this DocumentTemplateParameter*. |
| `DefaultValueTxt` | `string DefaultValueTxt { get; set; }` | Represents the default value txt associated with this DocumentTemplateParameter*. |
| `IsViewable` | `bool IsViewable { get; set; }` | Indicates whether this DocumentTemplateParameter is a viewable*. |
| `IsRequired` | `bool IsRequired { get; set; }` | Indicates whether this DocumentTemplateParameter is a required*. |
| `UpdateUser` | `string UpdateUser { get; set; }` | Identifies the user tied to the update on this DocumentTemplateParameter*. |
| `UpdateDate` | `DateTime UpdateDate { get; set; }` | Records the date of the update*. |
| `CreateUser` | `string CreateUser { get; set; }` | Identifies the user tied to the create on this DocumentTemplateParameter*. |
| `CreateDate` | `DateTime CreateDate { get; set; }` | Records the date of the create*. |
| `UpdateNumber` | `long UpdateNumber { set; }` | Uniquely identifies the update recorded on this DocumentTemplateParameter*. |

> **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/Documents/DocumentTemplateParameter.cs
