<?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="App\Model\UserCredentials" table="mmj_user_credentials">
        <id name="id" type="guid">
            <generator strategy="NONE"/>
        </id>

        <field name="phoneNumber" length="255"/>
        <field name="email" length="255" nullable="true"/>
        <field name="password" length="255"/>
        <field name="invalidLoginAttempts" type="smallint"/>
        <field name="suspendedAt" type="datetime_immutable" nullable="true"/>
        <field name="deletedAt" type="datetime_immutable" nullable="true"/>
    </entity>
</doctrine-mapping>
