Akeneo\Channel\Component\Model\Locale:
    type: entity
    table: pim_catalog_locale
    changeTrackingPolicy: DEFERRED_EXPLICIT
    repositoryClass: Akeneo\Channel\Bundle\Doctrine\Repository\LocaleRepository
    fields:
        id:
            type: integer
            id: true
            generator:
                strategy: AUTO
        code:
            type: string
            length: 20
            unique: true
        activated:
            type: boolean
            column: is_activated
    manyToMany:
        channels:
            targetEntity: Akeneo\Channel\Component\Model\ChannelInterface
            mappedBy: locales
            cascade:
                - persist
                - detach
