<?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
			  https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

    <entity name="Doctrine\Tests\Models\StockExchange\Market">
	<id name="id" type="integer">
	    <generator strategy="AUTO" />
	</id>

	<field name="name" type="string"/>

	<one-to-many target-entity="Stock" mapped-by="market" field="stocks" index-by="symbol" />
    </entity>
</doctrine-mapping>
