app.rate_card_lines
TablaSeguridad a nivel de fila activa
Rates on a rate card. A line names a canon role, classification, pay basis and arrangement (a permitted combination, decision D16) and a canon overtime rule (decision D14); job titles and multipliers are joined, never repeated (decision D12). The rate is Restricted.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.rate_cards on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| rate_card_id | uuid | No | Rate card the line belongs to.Hace referencia a app.rate_cards.id |
| role_code | text | No | Canon role priced (Roles Library).Hace referencia a xpms.role.role_code |
| worker_classification | text | No | Worker classification priced.Hace referencia a xpms.arrangement_classification.worker_classification |
| pay_basis | text | No | Pay basis; with the classification a permitted pair.Hace referencia a xpms.pay_basis_classification.pay_basis |
| arrangement | text | No | Arrangement; with the classification a permitted pair.Hace referencia a xpms.arrangement_classification.arrangement |
| canon_rate_card_id | text | Sí | Canon rate card the line was adopted from, when it was.Hace referencia a xpms.rate_card.rate_card_id |
| overtime_rule_id | text | No | Canon overtime rule whose multipliers apply.Hace referencia a xpms.overtime_rule.rule_id |
| rate_minor | bigint | Sí | Rate in minor units of the card currency per pay basis unit; NULL is unpriced. Restricted (data.restricted.read.payroll). |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |