src/Entity/Main/ApiProperties.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiProperties
  6.  *
  7.  * @ORM\Table(name="api_properties", indexes={@ORM\Index(name="id_colegiado", columns={"id_colegiado"}), @ORM\Index(name="fecha_creacion", columns={"fecha_creacion"}), @ORM\Index(name="num_fotos", columns={"num_fotos"}), @ORM\Index(name="obra_nueva", columns={"obra_nueva"}), @ORM\Index(name="precio", columns={"precio"}), @ORM\Index(name="fecha_caducidad", columns={"fecha_caducidad"}), @ORM\Index(name="alquiler", columns={"alquiler"}), @ORM\Index(name="precio_alquiler", columns={"precio_alquiler"}), @ORM\Index(name="localidad", columns={"localidad"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesRepository")
  9.  */
  10. class ApiProperties
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="id_colegiado", type="integer", nullable=false, options={"unsigned"=true})
  24.      */
  25.     private $idColegiado '0';
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="id_despacho", type="integer", nullable=false, options={"unsigned"=true})
  30.      */
  31.     private $idDespacho '0';
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="provincia", type="integer", nullable=false)
  36.      */
  37.     private $provincia '0';
  38.     /**
  39.      * @var int
  40.      *
  41.      * @ORM\Column(name="localidad", type="integer", nullable=false)
  42.      */
  43.     private $localidad '0';
  44.     /**
  45.      * @var int
  46.      *
  47.      * @ORM\Column(name="zona", type="integer", nullable=false, options={"unsigned"=true})
  48.      */
  49.     private $zona '0';
  50.     /**
  51.      * @var int
  52.      *
  53.      * @ORM\Column(name="cod_postal", type="integer", nullable=false)
  54.      */
  55.     private $codPostal '0';
  56.     /**
  57.      * @var string
  58.      *
  59.      * @ORM\Column(name="direccion", type="string", length=100, nullable=false, options={"default"="''"})
  60.      */
  61.     private $direccion '\'\'';
  62.     /**
  63.      * @var bool
  64.      *
  65.      * @ORM\Column(name="obra_nueva", type="boolean", nullable=false)
  66.      */
  67.     private $obraNueva '0';
  68.     /**
  69.      * @var bool
  70.      *
  71.      * @ORM\Column(name="alquiler", type="boolean", nullable=false)
  72.      */
  73.     private $alquiler '0';
  74.     /**
  75.      * @var bool
  76.      *
  77.      * @ORM\Column(name="es_subhasta", type="boolean", nullable=false)
  78.      */
  79.     private $esSubhasta '0';
  80.     /**
  81.      * @var bool
  82.      *
  83.      * @ORM\Column(name="es_lloguer_temporada", type="boolean", nullable=false)
  84.      */
  85.     private $esLloguerTemporada '0';
  86.     /**
  87.      * @var bool
  88.      *
  89.      * @ORM\Column(name="es_banc", type="boolean", nullable=false)
  90.      */
  91.     private $esBanc '0';
  92.     /**
  93.      * @var string
  94.      *
  95.      * @ORM\Column(name="superf_util", type="string", length=20, nullable=false)
  96.      */
  97.     private $superfUtil;
  98.     /**
  99.      * @var string
  100.      *
  101.      * @ORM\Column(name="superf_constr", type="string", length=20, nullable=false)
  102.      */
  103.     private $superfConstr;
  104.     /**
  105.      * @var string
  106.      *
  107.      * @ORM\Column(name="agencia", type="string", length=20, nullable=false)
  108.      */
  109.     private $agencia;
  110.     /**
  111.      * @var string
  112.      *
  113.      * @ORM\Column(name="referencia", type="string", length=32, nullable=false)
  114.      */
  115.     private $referencia;
  116.     /**
  117.      * @var string
  118.      *
  119.      * @ORM\Column(name="glat", type="string", length=15, nullable=false)
  120.      */
  121.     private $glat;
  122.     /**
  123.      * @var string
  124.      *
  125.      * @ORM\Column(name="glon", type="string", length=15, nullable=false)
  126.      */
  127.     private $glon;
  128.     /**
  129.      * @var string
  130.      *
  131.      * @ORM\Column(name="ref_catastral", type="string", length=50, nullable=false)
  132.      */
  133.     private $refCatastral;
  134.     /**
  135.      * @var int
  136.      *
  137.      * @ORM\Column(name="num_fotos", type="integer", nullable=false)
  138.      */
  139.     private $numFotos;
  140.     /**
  141.      * @var bool
  142.      *
  143.      * @ORM\Column(name="id_tipo_via", type="boolean", nullable=false, options={"default"="1"})
  144.      */
  145.     private $idTipoVia true;
  146.     /**
  147.      * @var string
  148.      *
  149.      * @ORM\Column(name="situacion_concreta", type="string", length=150, nullable=false)
  150.      */
  151.     private $situacionConcreta;
  152.     /**
  153.      * @var float
  154.      *
  155.      * @ORM\Column(name="precio_alquiler", type="float", precision=20, scale=2, nullable=false)
  156.      */
  157.     private $precioAlquiler;
  158.     /**
  159.      * @var float
  160.      *
  161.      * @ORM\Column(name="precio_alquiler_anterior", type="float", precision=20, scale=2, nullable=false)
  162.      */
  163.     private $precioAlquilerAnterior;
  164.     /**
  165.      * @var float
  166.      *
  167.      * @ORM\Column(name="precio", type="float", precision=20, scale=2, nullable=false, options={"default"="0.00"})
  168.      */
  169.     private $precio 0.00;
  170.     /**
  171.      * @var float
  172.      *
  173.      * @ORM\Column(name="precio_anterior", type="float", precision=20, scale=2, nullable=false)
  174.      */
  175.     private $precioAnterior;
  176.     /**
  177.      * @var bool
  178.      *
  179.      * @ORM\Column(name="rebajado", type="boolean", nullable=false)
  180.      */
  181.     private $rebajado '0';
  182.     /**
  183.      * @var float
  184.      *
  185.      * @ORM\Column(name="precio_subhasta", type="float", precision=20, scale=2, nullable=false, options={"default"="0.00"})
  186.      */
  187.     private $precioSubhasta 0.00;
  188.     /**
  189.      * @var float
  190.      *
  191.      * @ORM\Column(name="precio_subhasta_anterior", type="float", precision=20, scale=2, nullable=false)
  192.      */
  193.     private $precioSubhastaAnterior;
  194.     /**
  195.      * @var float
  196.      *
  197.      * @ORM\Column(name="precio_alquiler_temporada", type="float", precision=20, scale=2, nullable=false)
  198.      */
  199.     private $precioAlquilerTemporada;
  200.     /**
  201.      * @var float
  202.      *
  203.      * @ORM\Column(name="precio_alquiler_temporada_anterior", type="float", precision=20, scale=2, nullable=false)
  204.      */
  205.     private $precioAlquilerTemporadaAnterior;
  206.     /**
  207.      * @var bool
  208.      *
  209.      * @ORM\Column(name="estado", type="boolean", nullable=false)
  210.      */
  211.     private $estado;
  212.     /**
  213.      * @var bool
  214.      *
  215.      * @ORM\Column(name="contrato_exclusividad", type="boolean", nullable=false, options={"default"="1"})
  216.      */
  217.     private $contratoExclusividad true;
  218.     /**
  219.      * @var int
  220.      *
  221.      * @ORM\Column(name="idportal", type="integer", nullable=false)
  222.      */
  223.     private $idportal;
  224.     /**
  225.      * @var \DateTime
  226.      *
  227.      * @ORM\Column(name="fecha_creacion", type="date", nullable=false, options={"default"="'0000-00-00'"})
  228.      */
  229.     private $fechaCreacion '\'0000-00-00\'';
  230.     /**
  231.      * @var \DateTime
  232.      *
  233.      * @ORM\Column(name="fecha_importacion", type="datetime", nullable=false)
  234.      */
  235.     private $fechaImportacion;
  236.     /**
  237.      * @var \DateTime
  238.      *
  239.      * @ORM\Column(name="fecha_caducidad", type="date", nullable=false)
  240.      */
  241.     private $fechaCaducidad;
  242.     /**
  243.      * @var \DateTime
  244.      *
  245.      * @ORM\Column(name="fecha_update", type="date", nullable=false, options={"default"="'0000-00-00'"})
  246.      */
  247.     private $fechaUpdate '\'0000-00-00\'';
  248.     /**
  249.      * @var \DateTime
  250.      *
  251.      * @ORM\Column(name="fecha_disponibilidad", type="date", nullable=false, options={"default"="'0000-00-00'"})
  252.      */
  253.     private $fechaDisponibilidad '\'0000-00-00\'';
  254.     /**
  255.      * @var int|null
  256.      *
  257.      * @ORM\Column(name="id_properties_subtype", type="integer", nullable=true, options={"default"="NULL"})
  258.      */
  259.     private $idPropertiesSubtype NULL;
  260.     /**
  261.      * @var int|null
  262.      *
  263.      * @ORM\Column(name="id_properties_type", type="integer", nullable=true, options={"default"="NULL"})
  264.      */
  265.     private $idPropertiesType NULL;
  266.     /**
  267.      * @var int|null
  268.      *
  269.      * @ORM\Column(name="id_properties_supertype", type="integer", nullable=true, options={"default"="NULL"})
  270.      */
  271.     private $idPropertiesSupertype NULL;
  272.     /**
  273.      * @var int
  274.      *
  275.      * @ORM\Column(name="num_dorm", type="integer", nullable=false)
  276.      */
  277.     private $numDorm '0';
  278.     /**
  279.      * @var int
  280.      *
  281.      * @ORM\Column(name="contactos", type="integer", nullable=false, options={"unsigned"=true})
  282.      */
  283.     private $contactos '0';
  284.     /**
  285.      * @var int
  286.      *
  287.      * @ORM\Column(name="visitas", type="integer", nullable=false, options={"unsigned"=true})
  288.      */
  289.     private $visitas;
  290.     /**
  291.      * @var bool
  292.      *
  293.      * @ORM\Column(name="disponible", type="boolean", nullable=false, options={"comment"="Libre - 0 / Ocupado - 1"})
  294.      */
  295.     private $disponible '0';
  296.     /**
  297.      * @var bool
  298.      *
  299.      * @ORM\Column(name="visibilidad", type="boolean", nullable=false)
  300.      */
  301.     private $visibilidad '0';
  302.     /**
  303.      * @var bool
  304.      *
  305.      * @ORM\Column(name="destacado", type="boolean", nullable=false)
  306.      */
  307.     private $destacado '0';
  308.     public function getId(): ?int
  309.     {
  310.         return $this->id;
  311.     }
  312.     public function getIdColegiado(): ?int
  313.     {
  314.         return $this->idColegiado;
  315.     }
  316.     public function setIdColegiado(int $idColegiado): self
  317.     {
  318.         $this->idColegiado $idColegiado;
  319.         return $this;
  320.     }
  321.     public function getIdDespacho(): ?int
  322.     {
  323.         return $this->idDespacho;
  324.     }
  325.     public function setIdDespacho(int $idDespacho): self
  326.     {
  327.         $this->idDespacho $idDespacho;
  328.         return $this;
  329.     }
  330.     public function getProvincia(): ?int
  331.     {
  332.         return $this->provincia;
  333.     }
  334.     public function isProvincia(): ?bool
  335.     {
  336.         return $this->provincia;
  337.     }
  338.     public function setProvincia(bool $provincia): self
  339.     {
  340.         $this->provincia $provincia;
  341.         return $this;
  342.     }
  343.     public function getLocalidad(): ?int
  344.     {
  345.         return $this->localidad;
  346.     }
  347.     public function setLocalidad(int $localidad): self
  348.     {
  349.         $this->localidad $localidad;
  350.         return $this;
  351.     }
  352.     public function getZona(): ?int
  353.     {
  354.         return $this->zona;
  355.     }
  356.     public function setZona(int $zona): self
  357.     {
  358.         $this->zona $zona;
  359.         return $this;
  360.     }
  361.     public function getCodPostal(): ?int
  362.     {
  363.         return $this->codPostal;
  364.     }
  365.     public function setCodPostal(int $codPostal): self
  366.     {
  367.         $this->codPostal $codPostal;
  368.         return $this;
  369.     }
  370.     public function getDireccion(): ?string
  371.     {
  372.         return $this->direccion;
  373.     }
  374.     public function setDireccion(string $direccion): self
  375.     {
  376.         $this->direccion $direccion;
  377.         return $this;
  378.     }
  379.     public function isObraNueva(): ?bool
  380.     {
  381.         return $this->obraNueva;
  382.     }
  383.     public function setObraNueva(bool $obraNueva): self
  384.     {
  385.         $this->obraNueva $obraNueva;
  386.         return $this;
  387.     }
  388.     public function isAlquiler(): ?bool
  389.     {
  390.         return $this->alquiler;
  391.     }
  392.     public function setAlquiler(bool $alquiler): self
  393.     {
  394.         $this->alquiler $alquiler;
  395.         return $this;
  396.     }
  397.     public function isEsSubhasta(): ?bool
  398.     {
  399.         return $this->esSubhasta;
  400.     }
  401.     public function setEsSubhasta(bool $esSubhasta): self
  402.     {
  403.         $this->esSubhasta $esSubhasta;
  404.         return $this;
  405.     }
  406.     public function isEsLloguerTemporada(): ?bool
  407.     {
  408.         return $this->esLloguerTemporada;
  409.     }
  410.     public function setEsLloguerTemporada(bool $esLloguerTemporada): self
  411.     {
  412.         $this->esLloguerTemporada $esLloguerTemporada;
  413.         return $this;
  414.     }
  415.     public function isEsBanc(): ?bool
  416.     {
  417.         return $this->esBanc;
  418.     }
  419.     public function setEsBanc(bool $esBanc): self
  420.     {
  421.         $this->esBanc $esBanc;
  422.         return $this;
  423.     }
  424.     public function getSuperfUtil(): ?string
  425.     {
  426.         return $this->superfUtil;
  427.     }
  428.     public function setSuperfUtil(string $superfUtil): self
  429.     {
  430.         $this->superfUtil $superfUtil;
  431.         return $this;
  432.     }
  433.     public function getSuperfConstr(): ?string
  434.     {
  435.         return $this->superfConstr;
  436.     }
  437.     public function setSuperfConstr(string $superfConstr): self
  438.     {
  439.         $this->superfConstr $superfConstr;
  440.         return $this;
  441.     }
  442.     public function getAgencia(): ?string
  443.     {
  444.         return $this->agencia;
  445.     }
  446.     public function setAgencia(string $agencia): self
  447.     {
  448.         $this->agencia $agencia;
  449.         return $this;
  450.     }
  451.     public function getReferencia(): ?string
  452.     {
  453.         return $this->referencia;
  454.     }
  455.     public function setReferencia(string $referencia): self
  456.     {
  457.         $this->referencia $referencia;
  458.         return $this;
  459.     }
  460.     public function getGlat(): ?string
  461.     {
  462.         return $this->glat;
  463.     }
  464.     public function setGlat(string $glat): self
  465.     {
  466.         $this->glat $glat;
  467.         return $this;
  468.     }
  469.     public function getGlon(): ?string
  470.     {
  471.         return $this->glon;
  472.     }
  473.     public function setGlon(string $glon): self
  474.     {
  475.         $this->glon $glon;
  476.         return $this;
  477.     }
  478.     public function getRefCatastral(): ?string
  479.     {
  480.         return $this->refCatastral;
  481.     }
  482.     public function setRefCatastral(string $refCatastral): self
  483.     {
  484.         $this->refCatastral $refCatastral;
  485.         return $this;
  486.     }
  487.     public function getNumFotos(): ?int
  488.     {
  489.         return $this->numFotos;
  490.     }
  491.     public function isNumFotos(): ?bool
  492.     {
  493.         return $this->numFotos;
  494.     }
  495.     public function setNumFotos(bool $numFotos): self
  496.     {
  497.         $this->numFotos $numFotos;
  498.         return $this;
  499.     }
  500.     public function isIdTipoVia(): ?bool
  501.     {
  502.         return $this->idTipoVia;
  503.     }
  504.     public function setIdTipoVia(bool $idTipoVia): self
  505.     {
  506.         $this->idTipoVia $idTipoVia;
  507.         return $this;
  508.     }
  509.     public function getSituacionConcreta(): ?string
  510.     {
  511.         return $this->situacionConcreta;
  512.     }
  513.     public function setSituacionConcreta(string $situacionConcreta): self
  514.     {
  515.         $this->situacionConcreta $situacionConcreta;
  516.         return $this;
  517.     }
  518.     public function getPrecioAlquiler(): ?float
  519.     {
  520.         return $this->precioAlquiler;
  521.     }
  522.     public function setPrecioAlquiler(float $precioAlquiler): self
  523.     {
  524.         $this->precioAlquiler $precioAlquiler;
  525.         return $this;
  526.     }
  527.     public function getPrecioAlquilerAnterior(): ?float
  528.     {
  529.         return $this->precioAlquilerAnterior;
  530.     }
  531.     public function setPrecioAlquilerAnterior(float $precioAlquilerAnterior): self
  532.     {
  533.         $this->precioAlquilerAnterior $precioAlquilerAnterior;
  534.         return $this;
  535.     }
  536.     public function getPrecio(): ?float
  537.     {
  538.         return $this->precio;
  539.     }
  540.     public function setPrecio(float $precio): self
  541.     {
  542.         $this->precio $precio;
  543.         return $this;
  544.     }
  545.     public function getPrecioAnterior(): ?float
  546.     {
  547.         return $this->precioAnterior;
  548.     }
  549.     public function setPrecioAnterior(float $precioAnterior): self
  550.     {
  551.         $this->precioAnterior $precioAnterior;
  552.         return $this;
  553.     }
  554.     public function isRebajado(): ?bool
  555.     {
  556.         return $this->rebajado;
  557.     }
  558.     public function setRebajado(bool $rebajado): self
  559.     {
  560.         $this->rebajado $rebajado;
  561.         return $this;
  562.     }
  563.     public function getPrecioSubhasta(): ?float
  564.     {
  565.         return $this->precioSubhasta;
  566.     }
  567.     public function setPrecioSubhasta(float $precioSubhasta): self
  568.     {
  569.         $this->precioSubhasta $precioSubhasta;
  570.         return $this;
  571.     }
  572.     public function getPrecioSubhastaAnterior(): ?float
  573.     {
  574.         return $this->precioSubhastaAnterior;
  575.     }
  576.     public function setPrecioSubhastaAnterior(float $precioSubhastaAnterior): self
  577.     {
  578.         $this->precioSubhastaAnterior $precioSubhastaAnterior;
  579.         return $this;
  580.     }
  581.     public function getPrecioAlquilerTemporada(): ?float
  582.     {
  583.         return $this->precioAlquilerTemporada;
  584.     }
  585.     public function setPrecioAlquilerTemporada(float $precioAlquilerTemporada): self
  586.     {
  587.         $this->precioAlquilerTemporada $precioAlquilerTemporada;
  588.         return $this;
  589.     }
  590.     public function getPrecioAlquilerTemporadaAnterior(): ?float
  591.     {
  592.         return $this->precioAlquilerTemporadaAnterior;
  593.     }
  594.     public function setPrecioAlquilerTemporadaAnterior(float $precioAlquilerTemporadaAnterior): self
  595.     {
  596.         $this->precioAlquilerTemporadaAnterior $precioAlquilerTemporadaAnterior;
  597.         return $this;
  598.     }
  599.     public function isEstado(): ?bool
  600.     {
  601.         return $this->estado;
  602.     }
  603.     public function setEstado(bool $estado): self
  604.     {
  605.         $this->estado $estado;
  606.         return $this;
  607.     }
  608.     public function isContratoExclusividad(): ?bool
  609.     {
  610.         return $this->contratoExclusividad;
  611.     }
  612.     public function setContratoExclusividad(bool $contratoExclusividad): self
  613.     {
  614.         $this->contratoExclusividad $contratoExclusividad;
  615.         return $this;
  616.     }
  617.     public function getIdportal(): ?int
  618.     {
  619.         return $this->idportal;
  620.     }
  621.     public function setIdportal(int $idportal): self
  622.     {
  623.         $this->idportal $idportal;
  624.         return $this;
  625.     }
  626.     public function getFechaCreacion(): ?\DateTimeInterface
  627.     {
  628.         return $this->fechaCreacion;
  629.     }
  630.     public function setFechaCreacion(\DateTimeInterface $fechaCreacion): self
  631.     {
  632.         $this->fechaCreacion $fechaCreacion;
  633.         return $this;
  634.     }
  635.     public function getFechaImportacion(): ?\DateTimeInterface
  636.     {
  637.         return $this->fechaImportacion;
  638.     }
  639.     public function setFechaImportacion(\DateTimeInterface $fechaImportacion): self
  640.     {
  641.         $this->fechaImportacion $fechaImportacion;
  642.         return $this;
  643.     }
  644.     public function getFechaCaducidad(): ?\DateTimeInterface
  645.     {
  646.         return $this->fechaCaducidad;
  647.     }
  648.     public function setFechaCaducidad(\DateTimeInterface $fechaCaducidad): self
  649.     {
  650.         $this->fechaCaducidad $fechaCaducidad;
  651.         return $this;
  652.     }
  653.     public function getFechaUpdate(): ?\DateTimeInterface
  654.     {
  655.         return $this->fechaUpdate;
  656.     }
  657.     public function setFechaUpdate(\DateTimeInterface $fechaUpdate): self
  658.     {
  659.         $this->fechaUpdate $fechaUpdate;
  660.         return $this;
  661.     }
  662.     public function getFechaDisponibilidad(): ?\DateTimeInterface
  663.     {
  664.         return $this->fechaDisponibilidad;
  665.     }
  666.     public function setFechaDisponibilidad(\DateTimeInterface $fechaDisponibilidad): self
  667.     {
  668.         $this->fechaDisponibilidad $fechaDisponibilidad;
  669.         return $this;
  670.     }
  671.     public function getIdPropertiesSubtype(): ?int
  672.     {
  673.         return $this->idPropertiesSubtype;
  674.     }
  675.     public function setIdPropertiesSubtype(?int $idPropertiesSubtype): self
  676.     {
  677.         $this->idPropertiesSubtype $idPropertiesSubtype;
  678.         return $this;
  679.     }
  680.     public function getIdPropertiesType(): ?int
  681.     {
  682.         return $this->idPropertiesType;
  683.     }
  684.     public function setIdPropertiesType(?int $idPropertiesType): self
  685.     {
  686.         $this->idPropertiesType $idPropertiesType;
  687.         return $this;
  688.     }
  689.     public function getIdPropertiesSupertype(): ?int
  690.     {
  691.         return $this->idPropertiesSupertype;
  692.     }
  693.     public function setIdPropertiesSupertype(?int $idPropertiesSupertype): self
  694.     {
  695.         $this->idPropertiesSupertype $idPropertiesSupertype;
  696.         return $this;
  697.     }
  698.     public function getNumDorm(): ?int
  699.     {
  700.         return $this->numDorm;
  701.     }
  702.     public function setNumDorm(int $numDorm): self
  703.     {
  704.         $this->numDorm $numDorm;
  705.         return $this;
  706.     }
  707.     public function getContactos(): ?int
  708.     {
  709.         return $this->contactos;
  710.     }
  711.     public function setContactos(int $contactos): self
  712.     {
  713.         $this->contactos $contactos;
  714.         return $this;
  715.     }
  716.     public function getVisitas(): ?int
  717.     {
  718.         return $this->visitas;
  719.     }
  720.     public function setVisitas(int $visitas): self
  721.     {
  722.         $this->visitas $visitas;
  723.         return $this;
  724.     }
  725.     public function isDisponible(): ?bool
  726.     {
  727.         return $this->disponible;
  728.     }
  729.     public function setDisponible(bool $disponible): self
  730.     {
  731.         $this->disponible $disponible;
  732.         return $this;
  733.     }
  734.     public function isVisibilidad(): ?bool
  735.     {
  736.         return $this->visibilidad;
  737.     }
  738.     public function setVisibilidad(bool $visibilidad): self
  739.     {
  740.         $this->visibilidad $visibilidad;
  741.         return $this;
  742.     }
  743.     public function isDestacado(): ?bool
  744.     {
  745.         return $this->destacado;
  746.     }
  747.     public function setDestacado(bool $destacado): self
  748.     {
  749.         $this->destacado $destacado;
  750.         return $this;
  751.     }
  752. }