<?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="Terart\Delegations\DelegationsBundle\Entity\TypeOfExpenditure" table="type_of_expenditure"
            repository-class="Terart\Delegations\DelegationsBundle\Entity\Repository\TranslationsRepository">
        <id name="id" type="integer" column="id">
            <generator strategy="IDENTITY"/>
        </id>
        <field name="expenditure" type="string" column="expenditure" length="255" nullable="false"/>
        <field name="shortcut" type="string" column="shortcut" length="4" nullable="false" unique="true"/>
    </entity>
</doctrine-mapping>
