<?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\Application\Blog\Article" table="mmj_blog_article">
        <id name="id" type="guid">
            <generator strategy="NONE"/>
        </id>

        <field name="authorId" type="guid"/>
        <field name="title" length="255"/>
        <field name="copy" type="text"/>
        <field name="audio" type="text" nullable="true"/>
        <field name="video" type="text" nullable="true"/>
        <field name="isPinned" type="boolean"/>
        <field name="isActive" type="boolean"/>
        <field name="publishedAt" type="datetime_immutable"/>
        <field name="deletedAt" type="datetime_immutable" nullable="true"/>
    </entity>
</doctrine-mapping>
