Skip to main content

hr.agreement_seniority_steps

Schema: hr
English table: hr.agreement_seniority_steps
Italian original table: hr.con_scatti
Description: Definitions for automatic seniority-based salary increases (scatti di anzianità) within a Collective Labor Agreement.

Overview

  • Columns: 12
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 0
  • Indexes: 4

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOInternal surrogate primary key.
ass_codecons_idintegerNOBusiness identifier of the seniority step definition, unique per tenant.
ass_agreement_codecon_idintegerNOContract business code this seniority step refers to (per tenant).
ass_typecons_tipocharacter varying(1)NOStep type code (single-character domain value).
ass_level_codecons_conl_idintegerNOContract level business code this seniority step refers to (per tenant).
ass_continues_previous_stepcons_continua_precnumeric(1,0)NONumeric flag indicating continuity with the previous step (as stored in source data).
ass_sequencecons_sequenzanumeric(2,0)NOSequence number of the step within the contract/level progression.
ass_period_typecons_tipo_periodocharacter varying(1)NOPeriod type code (single-character domain value) used to interpret period_value.
ass_period_valuecons_periodonumeric(3,0)NOPeriod value (e.g., number of units defined by period_type).
tenant_idtenant_idintegerYESTenant identifier for multi-tenant partitioning.
colcustomcolcustomjsonbYES'{}'::jsonbCustom fields in JSON format.
_deleted_deletedbooleanYESfalseSoft-delete flag. True means the record is logically deleted.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_ass_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_assid
  • Unique: uk_ass_code_tenantass_code, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_ass_agreement_tenantNObtreetenant_id, ass_agreement_code) WHERE (_deleted = false
idx_ass_code_tenantNObtreetenant_id, ass_code) WHERE (_deleted = false
idx_ass_level_tenantNObtreetenant_id, ass_level_code) WHERE (_deleted = false
idx_ass_tenantNObtreetenant_id