Emgmbh\UserBundle\Entity\WorkerLaborLawStatement:
    type: entity
    id:
        id:
            type: integer
            options:
                unsigned: true
            id: true
            generator:
                strategy: IDENTITY

    fields:
        date:
            type: date
        createdAt:
            type: datetime
            gedmo:
                timestampable:
                    on: create

    manyToOne:
        worker:
            targetEntity: Emgmbh\UserBundle\Entity\Worker
            inversedBy: laborLawStatements
        leader:
            targetEntity: Emgmbh\UserBundle\Entity\Worker