<?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="MyMoneyJar\Domain\Iban" table="mmj_iban">
        <id name="id" type="mmj_uuid">
            <generator strategy="NONE"/>
        </id>
        <field name="employerId" type="mmj_uuid"/>
        <field name="userId" type="mmj_uuid" nullable="true"/>
        <embedded name="iban" class="MyMoneyJar\Domain\IbanNumber" use-column-prefix="false"/>
        <field name="bic" length="255"/>
        <field name="createdAt" type="datetime_immutable"/>
    </entity>
</doctrine-mapping>
