galmi/xacmlBundle

View on GitHub
Resources/config/doctrine/Rule.orm.xml

Summary

Maintainability
Test Coverage
<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
                   https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
<entity repository-class="Galmi\XacmlBundle\Repository\PolicySetRepository" name="Galmi\XacmlBundle\Entity\Rule" table="rule">
    <id name="id" type="integer" column="id">
        <generator strategy="AUTO"/>
    </id>
    <field name="effect" column="effect" type="string"/>
    <field name="description" column="description" type="string" nullable="true"/>
    <field name="target" column="target" type="object" nullable="true"/>
    <field name="condition" column="conditions" type="object" nullable="true"/>
</entity>
</doctrine-mapping>