Skip to main content

hr._payslip_template

Schema: hr
English table: hr._payslip_template
Italian original table: hr._cedolino_template
Description: Payslip PDF template configuration used by the parser. Defines template metadata and parsing behavior.

Overview

  • Columns: 6
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 1
  • Indexes: 2

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
pst_idcedtempl_idintegerNOLogical template identifier (unique per tenant).
pst_descriptioncedtempl_descrizionecharacter varying(50)NOTemplate description/name.
pst_is_cucedtempl_cubooleanNOIf true, the template refers to CU (Certificazione Unica) layout/variant.
pst_has_non_consecutive_pagescedtempl_pagine_non_consecutivebooleanNOIf true, the template may include non-consecutive pages when parsing multi-page PDFs.
tenant_idtenant_idintegerYESTenant identifier (multi-tenant isolation).

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_pst_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

From tableForeign keySource columnsTarget columns
hr._payslip_markerfk_psm_payslip_templatepsm_payslip_template_id, tenant_idpst_id, tenant_id

Constraints

  • Primary key: _payslip_template_pkeyid
  • Unique: uk_pst_id_tenantpst_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx__payslip_template_tenantNObtreetenant_id
idx__payslip_template_tenant_pst_idNObtreetenant_id, pst_id