title: Disable automatic Id field generation in Doctrine
body: <p>Disable automatic Id field generation in Doctrine</p>
  
  <p>this a part of my entity file:</p>
  
  <pre><code>&lt;?php
  
  namespace MyBundle\Entity;
  use Doctrine\ORM\Mapping as ORM;
  
  /**
   * Variables
   * @ORM\Table(name="variables")
   * @ORM\Entity(repositoryClass="MyBundle\Repository\VariablesRepository")
   */
  
  class Variables
  {
  
      /**
       * @var int
       * @ORM\Column(name="variablesRef", type="integer")
       * @ORM\GeneratedValue(strategy="AUTO")
       */
      private $variablesRef;
  
      /**
       * @var string
       * @ORM\Column(name="variablesLibelle", type="string", length=250)
       */
      private $variablesLibelle;
  </code></pre>
  
  <p>when i try to create a schema :</p>
  
  <p>erreur</p>
  
  <blockquote>
    <p>Property MyBundle\Entity\Employeursecteur::$id does not exist</p>
  </blockquote>
  
  <p>i want to Disable automatic Id field generation in Doctrine
  i don't need the id  Column 
  please help</p>