<?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\PotentialUser" table="mmj_potential_user">
        <id name="id" type="mmj_uuid">
            <generator strategy="NONE"/>
        </id>

        <field name="activationCode" length="6"/>
        <field name="bootGuardCode" length="255" nullable="true"/>
        <field name="expiresAt" type="datetime_immutable"/>
        <field name="createdAt" type="datetime_immutable"/>

        <embedded name="phoneNumber" class="MyMoneyJar\Domain\PhoneNumber" use-column-prefix="false"/>
    </entity>
</doctrine-mapping>
