TecnicasPlanificacion.php~ 1.02 KB
<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TecnicasPlanificacion
 *
 * @ORM\Table(name="tecnicas_planficacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tecnica", columns={"nombre"})})
 * @ORM\Entity
 */
class TecnicasPlanificacion
{
    /**
     * @var string
     *
     * @ORM\Column(name="nombre", type="string", length=100, nullable=false, options={"comment" = "Nombre del municipio"})
     */
    private $nombre;
    

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"})
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1)
     */
    private $id;
    
    
    /**
     * @var \Doctrine\Common\Collections\Collection
     *
     * @ORM\ManyToMany(targetEntity="AppBundle\Entity\PlanificacionSeccionEstrategia", mappedBy="tecnica")
     */
    protected $estrategia;
    
    
    
}