# BoardColumn

**Kind:** Database Model

**Source:** [`atloria-monorepo/libs/database/prisma/schema.prisma`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/database/prisma/schema.prisma#L2896)

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `boardId` | `String` | ✓ |  |
| `name` | `String` | ✓ |  |
| `order` | `Int` | ✓ |  |
| `color` | `String` | ✓ |  |
| `mapsToStatus` | `IssueStatus` | - |  |
| `wipLimit` | `Int` | - |  |
| `createdAt` | `DateTime` | ✓ |  |
| `updatedAt` | `DateTime` | ✓ |  |
| `cards` | `BoardCard[]` | ✓ |  |

## Diagram

```mermaid
erDiagram
    BoardColumn {
        id String [PK]
        boardId String
        name String
        order Int
        color String
        mapsToStatus IssueStatus?
        wipLimit Int?
        createdAt DateTime
        updatedAt DateTime
        cards BoardCard[]
    }
    BoardColumn ||--|| Board : ""
```

## Relationships

- HAS_ONE → `Board`

## Referenced By

- `BoardCard` (HAS_ONE)
