Saltar al contenido

app.occupancy_counters

TablaSeguridad a nivel de fila activa

A live occupancy counter (Section 4.9) for a space or entrance on a project: the current count against the permitted occupant load, with alerts at 80, 90 and 100 percent.

Clave primaria: id

Columnas de app.occupancy_counters
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.projects on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id
project_iduuidNoProject the counter runs on.Hace referencia a app.projects.id
space_iduuidSíSpace counted; required unless the load comes from a permit.Hace referencia a app.spaces.id
nametextNoCounter name, for example Main Floor.
load_basisapp.occupancy_load_basisNoSpace Capacity, Occupant Load Factor or Permit.
metric_domaintextSíBible metric domain of the load factor (capacity).Hace referencia a xpms.dim_metric.domain
metric_itemtextSíBible occupant load factor used, for example Assembly - standing space.Hace referencia a xpms.dim_metric.item
permitted_loadintegerNoPermitted occupant load.
current_countintegerNoPeople inside now, kept by the door counts.
alert_level_percentsmallintNoHighest alert level (80, 90 or 100) the count currently meets; 0 below 80.
closed_attimestamp with time zoneSíWhen counting stopped.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.