Emgmbh\UserBundle\Entity\Manager:
    type: entity
    id:
        id:
            type: integer
            options:
                unsigned: true
            id: true
            generator:
                strategy: IDENTITY
    fields:
        name:
            type: string
            nullable: false
            length: 50
        email:
            type: string
            nullable: false
            length: 127
        type:
            type: smallint
            nullable: false

    oneToMany:
        districtMarkets:
            targetEntity: Emgmbh\MarketBundle\Entity\Market
            mappedBy: districtManager
        salesMarkets:
            targetEntity: Emgmbh\MarketBundle\Entity\Market
            mappedBy: salesManager

    lifecycleCallbacks: {  }
