<?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">

    <mapped-superclass name="Sylius\Component\Customer\Model\CustomerGroup" table="sylius_customer_group">
        <id name="id" column="id" type="integer">
            <generator strategy="AUTO" />
        </id>
        <field name="code" column="code" type="string" unique="true" nullable="false"/>
        <field name="name" column="name" type="string" nullable="false" />
    </mapped-superclass>

</doctrine-mapping>
