22 lines
1000 B
XML
22 lines
1000 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
|
||
|
http://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
|
||
|
|
||
|
<entity name="Doctrine\Tests\Models\DDC117\DDC117Translation">
|
||
|
<many-to-one field="article" target-entity="DDC117Article">
|
||
|
<join-column name="article_id" referenced-column-name="article_id" />
|
||
|
</many-to-one>
|
||
|
|
||
|
<many-to-many field="reviewedByEditors" target-entity="DDC117Editor" mapped-by="reviewingTranslations" />
|
||
|
|
||
|
<one-to-many field="lastTranslatedBy" target-entity="DDC117Editor" mapped-by="lastTranslation" />
|
||
|
|
||
|
<id name="article" association-key="true" />
|
||
|
<id name="language" type="string" />
|
||
|
|
||
|
<field name="title" type="string" />
|
||
|
</entity>
|
||
|
|
||
|
</doctrine-mapping>
|