# Tag

**Kind:** Database Model

**Source:** [`atloria-monorepo/apps/parser-orchestrator/test/fixtures/sample-projects/fullstack-nextjs-nestjs/backend/prisma/schema.prisma`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/parser-orchestrator/test/fixtures/sample-projects/fullstack-nextjs-nestjs/backend/prisma/schema.prisma#L125)

Tags for categorizing posts

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `name` | `String` | ✓ | unique |

## Diagram

```mermaid
erDiagram
    Tag {
        id String [PK]
        name String [UNIQUE]
    }
    Tag ||--}o Post : ""
```

## Relationships

- HAS_MANY → `Post`

## Referenced By

- `Post` (HAS_MANY)
