Skip to content
Updated Sep 26, 2026 by Barča Dvořáková · Owner: analysisactiveentityconfluence-migration Edit on GitHub

Entity: contractItemRate ​

Entity: contractItemRate

Description: A global, admin-managed catalogue of pricing units (e.g. "Kč/MWh", "Kč/m³", "Kč/den"). Referenced by contractItem to specify the unit a price is expressed in, constrained per contractItemType via contractItemAllowedTypeRate.

Entity Type: database table

Note — no tenantId (deviation #17). This entity intentionally has no tenantId — the set of available pricing units is global and superadmin-managed, same as contractItemType.

Data Attributes Table ​

Attribute NameDescriptionData TypeDefault ValueRequired (= Nullable)UniqueFormatValidationsIndexExample
idPrimary key of the entity.UUIDGenerated in code (app layer)YesYesUUID v7-Primary Key018ed0b3-c298-7c7a-96d5-8b36f5a7f8d2
nameDisplay label of the pricing unit.string-YesYes-Must not be empty-Kč/MWh
createdAtTimestamp of entity creation. Immutable.timestamp with time zonenow()YesNoISO 8601 — YYYY-MM-DDTHH:mm:ss.SSSZ--2026-01-15T09:00:00Z
updatedAtTimestamp of last entity update. Mutable.timestamp with time zonenow()YesNoISO 8601 — YYYY-MM-DDTHH:mm:ss.SSSZ--2026-01-15T09:00:00Z
deletedAtTimestamp of entity soft delete. Once set, immutable.timestamp with time zone-NoNoISO 8601 — YYYY-MM-DDTHH:mm:ss.SSSZImmutable once set. Active records: WHERE deletedAt IS NULL-null
createdByIdentifier of the author who created this record.string-YesNotype:actor--user:c2d3f586-1c9a-4f5f-b9ae-45f2c4f69f7e
updatedByIdentifier of the author who last updated this record.string-YesNotype:actor--system:migration-v1

Audited fields ​

Recorded on created (in full), updated (changed only) and deleted (in full): name.

Excluded: none.

No subjectEntityType/subjectEntityId — a global, superadmin-managed catalogue (no tenantId), same exception class as uiLabel and gaugePurposeOption. Registered for entityName resolution via the global catalogue registry — resolves to name (architecture 61-audit-log.md §7.4/§7.6 in the code repo).