# BoardCard

**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#L2922)

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `boardId` | `String` | ✓ |  |
| `columnId` | `String` | ✓ |  |
| `issueId` | `String` | ✓ |  |
| `position` | `Float` | ✓ |  |
| `addedById` | `String` | - |  |
| `createdAt` | `DateTime` | ✓ |  |
| `updatedAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    BoardCard {
        id String [PK]
        boardId String
        columnId String
        issueId String
        position Float
        addedById String?
        createdAt DateTime
        updatedAt DateTime
    }
    BoardCard ||--|| Board : ""
    BoardCard ||--|| BoardColumn : ""
    BoardCard ||--|| DocIssueReport : ""
    BoardCard ||--|| User : ""
```

## Relationships

- HAS_ONE → `Board`
- HAS_ONE → `BoardColumn`
- HAS_ONE → `DocIssueReport`
- HAS_ONE → `User`

## Referenced By

- `User` (HAS_ONE)
