Skip to content

Instantly share code, notes, and snippets.

@bitwombat
Created April 2, 2018 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitwombat/ce4ef51edb89a3cdf0f2cd37ba830712 to your computer and use it in GitHub Desktop.
Save bitwombat/ce4ef51edb89a3cdf0f2cd37ba830712 to your computer and use it in GitHub Desktop.
<?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