UnicaenRenderer.Entity.Db.Template.dcm.xml 1.31 KB
Newer Older
Jean-Philippe Metivier's avatar
Jean-Philippe Metivier committed
1
2
<?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">
3
    <entity name="UnicaenRenderer\Entity\Db\Template" table="unicaen_renderer_template">
Jean-Philippe Metivier's avatar
Jean-Philippe Metivier committed
4
5
6
7
8
9
10
11

        <id name="id"                   column="id"                 type="integer">
            <generator strategy="IDENTITY"/>
        </id>

        <field name="code"              column="code"                   type="string"    length="256"     nullable="false" />
        <field name="description"       column="description"            type="string"    length="4096"    nullable="false" />
        <field name="type"              column="document_type"          type="string"    length="256"     nullable="false" />
12
13
        <field name="sujet"             column="document_sujet"         type="string"    length="4096"    nullable="false" />
        <field name="corps"             column="document_corps"         type="string"    length="4096"    nullable="false" />
Jean-Philippe Metivier's avatar
Jean-Philippe Metivier committed
14
15
16
17
        <field name="css"               column="document_css"           type="string"    length="4096"    nullable="false" />

    </entity>
</doctrine-mapping>