<?xml version="1.0" encoding="UTF-8" ?>

<!-- A copy of this file is necessary in src/Resources/config/doctrine for SF <5.4 compatibility. If this file is updated the copy needs to be updated too -->
<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://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
    <embeddable name="Vich\UploaderBundle\Entity\File">
        <field name="name" nullable="true"/>
        <field name="originalName" column="original_name" nullable="true"/>
        <field name="mimeType" column="mime_type" nullable="true"/>
        <field name="size" type="integer" nullable="true"/>
        <field name="dimensions" type="simple_array" nullable="true"/>
    </embeddable>
</doctrine-mapping>