Eye4web/zf2-site-config

View on GitHub
config/xml/eye4websiteconfig/Eye4web.SiteConfig.Entity.SiteConfig.dcm.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                  http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

    <entity name="Eye4web\SiteConfig\Entity\SiteConfig" table="site_config">
        <id name="id" type="guid" column="id">
            <generator strategy="NONE" />
        </id>
        <field name="key" type="string" length="50"/>
        <field name="name" type="string" length="100"/>
        <field name="value" type="text"/>
        <field name="description" type="string" length="255"/>
    </entity>

</doctrine-mapping>