<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 name="HCLabs\Bills\Model\Company"
            repository-class="HCLabs\Bills\Model\Repository\Doctrine\CompanyRepository">
        <id name="id" type="guid">
            <generator strategy="UUID"/>
        </id>

        <field name="name" column="amount" type="string" length="255" />

        <one-to-many target-entity="Service" field="services" mapped-by="company"/>
    </entity>
</doctrine-mapping>