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

	<entity name="AppBundle\Entity\Assignments\NewsletterBlockArticleAssignment"
		table="newsletter_block_article_assignments"
		repository-class="AppBundle\Repository\Admin\Assignments\NewsletterBlockArticleAssignmentRepository">

		<many-to-one field="newsletterBlock" target-entity="AppBundle\Entity\Main\NewsletterBlock"
			inversed-by="newsletterBlockArticleAssignments" />
		<many-to-one field="article" target-entity="AppBundle\Entity\Main\Article"
			inversed-by="newsletterBlockArticleAssignments" />

		<field name="orderNumber" type="integer" default="1" nullable="true" />

		<field name="alternativeName" type="string" length="128" nullable="true" />
		<field name="alternativeSubname" type="string" length="128" nullable="true" />
		<field name="alternativeBrands" type="string" length="128" nullable="true" />

	</entity>

</doctrine-mapping>