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

        <field name="accountId" type="mmj_uuid"/>
        <field name="autoPaymentId" type="mmj_uuid"/>
        <field name="occurAt" type="datetime_immutable"/>
        <field name="status" length="15"/>
        <field name="scheduledAt" type="datetime_immutable"/>
    </entity>
</doctrine-mapping>
