App\ContactBundle\Entity\MessageEmbeddedImage:
  type: entity
  table: contact_message_embedded_image
  id:
    id:
      type: string
      unique: true
      generator:
        strategy: CUSTOM
      customIdGenerator:
        class: Ramsey\Uuid\Doctrine\UuidGenerator
  fields:
    original_file_name:
      type: text
  manyToOne:
    message:
      targetEntity: Message
      inversedBy: message_embedded_image
      joinColumn:
        name: message_id
        referencedColumnName: id