# CreateTemplateDto

**Kind:** Class

**Source:** [`atloria-monorepo/apps/api/src/template/dto/create-template.dto.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/template/dto/create-template.dto.ts#L19)

DTO for creating a new document template.
Used by administrators and maintainers to add templates to the system.

## Properties

| Property | Type |
|---|---|
| `name` | `string` |
| `description` | `string` |
| `category` | `TemplateCategory` |
| `content` | `string` |
| `thumbnail` | `string` |
| `metadata` | `Record<string, unknown>` |
| `defaultType` | `DocumentType` |
| `defaultAudiences` | `string[]` |
| `isPublic` | `boolean` |
| `organizationId` | `string` |
