Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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 repository-class="Model\Repository\CompetencyRepository" name="Model\Entity\Competency" table="competencies">
<id name="id" type="integer" column="id">
<generator strategy="IDENTITY"/>
</id>
<field name="name" type="string" column="name" precision="0" scale="0" nullable="false"/>
<field name="description" type="string" column="description" precision="0" scale="0" nullable="false"/>
<field name="mandatory" type="boolean" column="mandatory" precision="0" scale="0" nullable="false"/>
<field name="refreshFrequencyInMonths" type="integer" column="refreshFrequencyInMonths" precision="0" scale="0" nullable="false"/>
<field name="supersededById" type="integer" column="supersededById" precision="0" scale="0" nullable="false"/>
<field name="dateCreated" type="datetime" column="dateCreated" precision="0" scale="0" nullable="false"/>
<field name="dateArchived" type="datetime" column="dateArchived" precision="0" scale="0" nullable="false"/>
</entity>
</doctrine-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.