# cell ## Purpose The **cell** table defines containment cells used for D-Class personnel housing within the facility. It represents a containment housing unit used for the accommodation of D-Class personnel. ## Columns | Field | Type | Description |--------|----------|------------------------------------------------------------------------------------| | id_cel | SMALLINT | Unique cell identifier (PK, AUTO_INCREMENT) | id_loc | SMALLINT | Location identifier where the cell is physically located (FK) |----------------------------------------------------------------------------------------------------------------| ## Relationships - References **location.id_loc** through **cell.id_loc** to define the physical location of the cell. - Referenced by **dclass.id_cel** to assign D-Class personnel to cells. ## Rules - A cell can contain at most one active D-Class individual at a time. - Cells are forbidden to be located in SZ or EZ. ## Example output +--------+--------+ | id_cel | id_loc | +--------+--------+ | 1 | 8 | +--------+--------+