---
title: "Feature: Records relate to companies and employees through contracts"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791645134@main"
source: "Changelog/1.0.0/Feature-1791645134-RecordsRelateToCompaniesAndEmployeesThroughContracts.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Records relate to companies and employees through contracts {#feature-1791645134}

## Description {#description}

The core publishes `CompanyRecord` and `EmployeeRecord`, the targets of a package's relations to the company and the
employee, which Doctrine resolves to the core's entities, and `CompanyReferences` and `EmployeeReferences`, which
give such a target for an ID without loading it. An architecture test lists the entities that still name their company
or employee by a plain column.

## Impact {#impact}

A package relates its records to the company and the employee with a `ManyToOne` to these interfaces and
`onDelete: 'CASCADE'`.
