﻿# `printer_configurations`

**Module:** Workspace

---

## Purpose

One-to-one workspace configuration for label printer settings (angpao, souvenir, VIP label dimensions and fields).

---

## Columns (Summary)

| Column | Notes |
|--------|-------|
| `id BIGINT UNSIGNED AUTO_INCREMENT PK` | — |
| `workspace_id BIGINT UNSIGNED NOT NULL UNIQUE FK→workspaces` | — |
| `angpao_label_enabled TINYINT(1) DEFAULT 0` | — |
| `souvenir_label_enabled TINYINT(1) DEFAULT 0` | — |
| `vip_label_enabled TINYINT(1) DEFAULT 0` | — |
| `label_width_mm SMALLINT UNSIGNED NULL` | — |
| `label_height_mm SMALLINT UNSIGNED NULL` | — |
| `copies_per_checkin TINYINT UNSIGNED DEFAULT 1` | — |
| `angpao_label_fields JSON NULL` | — |
| `updated_at DATETIME NULL` | — |

---

## Referenced By

None

---

## Notes

See `docs/database/RELATIONSHIP.md` for full entity relationships and `database/schema.sql` for authoritative DDL.
