src/Entity/App/Destacado.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\App;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\App\Categoria;
  5. use App\Entity\App\Tramite;
  6. /**
  7.  * @ORM\Entity(repositoryClass="App\Repository\App\DestacadoRepository")
  8.  * @ORM\HasLifecycleCallbacks()
  9.  */
  10. class Destacado
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\ManyToOne(targetEntity="App\Entity\App\TipoDestacado", fetch="EAGER")
  20.      * @ORM\JoinColumn(nullable=true)
  21.      */
  22.     private $tipoDestacado;
  23.     /**
  24.      * @ORM\ManyToOne(targetEntity="App\Entity\App\Tramite", fetch="EAGER")
  25.      * @ORM\JoinColumn(nullable=false)
  26.      */
  27.     private $tramite;
  28.     /**
  29.      * @return mixed
  30.      */
  31.     public function getId()
  32.     {
  33.         return $this->id;
  34.     }
  35.     /**
  36.      * @param mixed $id
  37.      */
  38.     public function setId($id): void
  39.     {
  40.         $this->id $id;
  41.     }
  42.     /**
  43.      * @return mixed
  44.      */
  45.     public function getTipoDestacado()
  46.     {
  47.         return $this->tipoDestacado;
  48.     }
  49.     /**
  50.      * @param mixed $tipoDestacado
  51.      */
  52.     public function setTipoDestacado($tipoDestacado): void
  53.     {
  54.         $this->tipoDestacado $tipoDestacado;
  55.     }
  56.     /**
  57.      * @return mixed
  58.      */
  59.     public function getPosicion()
  60.     {
  61.         return $this->posicion;
  62.     }
  63.     /**
  64.      * @param mixed $posicion
  65.      */
  66.     public function setPosicion($posicion): void
  67.     {
  68.         $this->posicion $posicion;
  69.     }
  70.     /**
  71.      * @return mixed
  72.      */
  73.     public function getTramite()
  74.     {
  75.         return $this->tramite;
  76.     }
  77.     /**
  78.      * @param mixed $tramite
  79.      */
  80.     public function setTramite($tramite): void
  81.     {
  82.         $this->tramite $tramite;
  83.     }
  84.     /**
  85.      * @ORM\Column(type="integer")
  86.      */
  87.     private $posicion;
  88. }