PlanificacionSeccionEstrategia.php~ 1.6 KB
<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PlanificacionSeccionEstrategia
 *
 * @ORM\Table(name="planificacion_seccion_estrategia", 
 *      uniqueConstraints=
 *          {@ORM\UniqueConstraint(name="uq_planificacion_seccion", 
 *              columns={"id_planificacion_seccion"})
 *          }, 
 *          indexes={ 
 *              @ORM\Index(name="fki_id_planificacion_seccion", 
 *                  columns={"id_planificacion_seccion"})
 *          }
 *  )
 * @ORM\Entity
 */
class PlanificacionSeccionEstrategia
{
    
    /**
     * @var \AppBundle\Entity\PlanificacionSeccion
     *
     * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false)
     * })
     */
    private $idPlanificacionSeccion;
    
    /**
     * @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 text
     *
     * @ORM\Column(name="tipo_estrategia", type="text", nullable=false, options={"comment" = "Tipos de estrategia a utilizar"})
     */
    private $tipoEstrategia;
    
    
    /**
     * @var text
     *
     * @ORM\Column(name="tipoRecurso", type="text", nullable=false, options={"comment" = "Recursos necesarios para el tema"})
     */
    private $tipoRecurso;

    
}