.. include:: /Includes.rst.txt .. _feature-1791645134: ==================================================================== Feature: Records relate to companies and employees through contracts ==================================================================== 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 ====== A package relates its records to the company and the employee with a ``ManyToOne`` to these interfaces and ``onDelete: 'CASCADE'``. .. index:: Backend, Database, package:adsum-core