hr.x_protected_categories
Schema: hr
English table: hr.x_protected_categories
Italian original table: hr.x_categorie_prot_dipendente
Description: Lookup table for protected employee categories (e.g., disabilities, special legal status).
Overview
- Columns: 4
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 2
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xpc_id | xcatdip_id | integer | NO | | Technical identifier for the protected category option. |
xpc_description | xcatdip_description | character varying(50) | NO | | Description text. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for data isolation. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_protected_categories → id
- Unique:
uk_xpc_id_tenant → xpc_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xpc_id_tenant | NO | btree | tenant_id, xpc_id |
idx_xpc_tenant | NO | btree | tenant_id |
Navigation