src/Entity/Equipo.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use phpDocumentor\Reflection\Types\Integer;
  6. use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
  7. use DateTimeInterface;
  8. /**
  9.  * Equipo
  10.  *
  11.  * @ORM\Table(name="equipo", indexes={@ORM\Index(name="equipo_ubicacion_fk", columns={"ubicacion"}), @ORM\Index(name="equipo_usuario_fk", columns={"usuario"}), @ORM\Index(name="equipo_unidad_fk", columns={"unidad"}),@ORM\Index(name="equipo_c_estado_uso_fk", columns={"id_uso"}),@ORM\Index(name="equipo_c_material_fk", columns={"id_material"})})
  12.  * @ORM\Entity(repositoryClass="App\Repository\EquipoRepository")
  13.  * @UniqueEntity(fields={"marbete"}, message="Existe un EQUIPO registrado con el mismo marbete")
  14.  */
  15. class Equipo
  16. {
  17.     /**
  18.      * @var int
  19.      * @ORM\Column(name="id_equ", type="integer", nullable=false, options={"comment"="Identificador único del equipo informático."})
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="IDENTITY")
  22.      */
  23.     private $idEqu;
  24.     /**
  25.      * @var string|null
  26.      * @ORM\Column(name="marbete", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de marbete asignado al equipo por el sistema de inventarios del estado de méxico SICOPA."})
  27.      */
  28.     protected $marbete;
  29.     //private $marbete = '';
  30.     /**
  31.      * @var string|null
  32.      * @ORM\Column(name="descripcion", type="text", length=65535, nullable=true, options={"default"="NULL","comment"="Descripción de la computadora en turno"})
  33.      */
  34.     private $descripcion '';
  35.     /**
  36.      * @var string|null
  37.      * @ORM\Column(name="modelo", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Modelo del equipo"})
  38.      */
  39.     private $modelo '';
  40.     /**
  41.      * @var string|null
  42.      *
  43.      * @ORM\Column(name="serie", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de serie del equipo"})
  44.      */
  45.     private $serie '';
  46.     /**
  47.      * @var string|null
  48.      *
  49.      * @ORM\Column(name="procesador", type="string", length=80, nullable=true, options={"default"="NULL","comment"="Descripción completa del procesador o en su defecto la matricula del procesador."})
  50.      */
  51.     private $procesador '';
  52.     /**
  53.      * @var int|null
  54.      *
  55.      * @ORM\Column(name="nucleos", type="integer", nullable=true, options={"default"="NULL","comment"="Número de nucleos del procesador"})
  56.      */
  57.     private $nucleos 4;
  58.     /**
  59.      * @var string|null
  60.      *
  61.      * @ORM\Column(name="cpu_velocidad", type="string", length=40, nullable=true, options={"default"="NULL","comment"="Velocidad del procesador en GHz"})
  62.      */
  63.     private $cpuVelocidad 3.2;
  64.     /**
  65.      * @var string|null
  66.      *
  67.      * @ORM\Column(name="ram", type="string", length=40, nullable=true, options={"default"="NULL","comment"="Cantidad de memoria RAM de la computadora en GB"})
  68.      */
  69.     private $ram 4;
  70.     /**
  71.      * @var int|null
  72.      *
  73.      * @ORM\Column(name="hhd", type="integer", length=40, nullable=true, options={"default"="NULL","comment"="Capacidad del Disco Duro Mecánico de la computadora en GB"})
  74.      */
  75.     private $hhd '';
  76.     /**
  77.      * @var int|null
  78.      *
  79.      * @ORM\Column(name="ssd", type="integer", length=40, nullable=true, options={"default"="NULL","comment"="Capacidad del Disco Duro de Estado solido de la computadora en GB"})
  80.      */
  81.     private $ssd '';
  82.     /**
  83.      * @var string|null
  84.      *
  85.      * @ORM\Column(name="mac", type="string", length=18, nullable=true, options={"default"="NULL","comment"="Dirección MAC del equipo"})
  86.      */
  87.     private $mac '';
  88.     /**
  89.      * @var string|null
  90.      *
  91.      * @ORM\Column(name="ip", type="string", length=16, nullable=true, options={"default"="NULL","comment"="Dirección IP del equipo"})
  92.      */
  93.     private $ip '';
  94.     /**
  95.      * @var string|null
  96.      *
  97.      * @ORM\Column(name="monitor_marbete", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de marbete asignado al monitor por el sistema de inventarios del estado de méxico SICOPA. Normalmente este numero es igual al marbete del equipo. Pero hay exepciones en donde puede ser diferente"})
  98.      */
  99.     private $monitorMarbete '';
  100.     /**
  101.      * @var string|null
  102.      *
  103.      * @ORM\Column(name="monitor_modelo", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Modelo del monitor"})
  104.      */
  105.     private $monitorModelo '';
  106.     /**
  107.      * @var string|null
  108.      *
  109.      * @ORM\Column(name="monitor_serie", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de serie del teclado"})
  110.      */
  111.     private $monitorSerie '';
  112.     /**
  113.      * @var string|null
  114.      *
  115.      * @ORM\Column(name="monitor_tipo", type="string", length=20, nullable=true, options={"default"="NULL","comment"="Solo hay cuatro opciones: ""Monocromo"", ""VGA"", ""Supere VGA"" y ""Ultra VGA"""})
  116.      */
  117.     private $monitorTipo '';
  118.     /**
  119.      * @var string|null
  120.      *
  121.      * @ORM\Column(name="monitor_pulgadas", type="string", length=20, nullable=true, options={"default"="NULL","comment"="Pulgadas diagonales del monitor"})
  122.      */
  123.     private $monitorPulgadas '';
  124.     /**
  125.      * @var string|null
  126.      *
  127.      * @ORM\Column(name="teclado_modelo", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Modelo del teclado"})
  128.      */
  129.     private $tecladoModelo '';
  130.     /**
  131.      * @var string|null
  132.      *
  133.      * @ORM\Column(name="teclado_serie", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de serie del teclado"})
  134.      */
  135.     private $tecladoSerie '';
  136.     /**
  137.      * @var string|null
  138.      *
  139.      * @ORM\Column(name="mouse_modelo", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Modelo del mouse"})
  140.      */
  141.     private $mouseModelo '';
  142.     /**
  143.      * @var string|null
  144.      *
  145.      * @ORM\Column(name="mouse_serie", type="string", length=50, nullable=true, options={"default"="NULL","comment"="Número de serie del mouse"})
  146.      */
  147.     private $mouseSerie '';
  148.     /**
  149.      * @var string|null
  150.      *
  151.      * @ORM\Column(name="uso", type="string", length=20, nullable=true, options={"default"="NULL","comment"="Para describir el uso que se le da al equipo
  152. 1=Educativo
  153. 2=Docente
  154. 3=Administrativo"})
  155.      */
  156.     private $uso '';
  157.     /**
  158.      * @var string|null
  159.      *
  160.      * @ORM\Column(name="funcion", type="string", length=20, nullable=true, options={"default"="NULL","comment"="función principal Servidor / ecritorio SW instalado
  161. 1=Escritorio
  162. 2=Servidor
  163. "})
  164.      */
  165.     private $funcion '';
  166.     /**
  167.      * @var string|null
  168.      *
  169.      * @ORM\Column(name="funcion_descripcion", type="text", length=65535, nullable=true, options={"default"="NULL","comment"="Para la carrera, o tipo de servidor o controlador"})
  170.      */
  171.     private $funcionDescripcion '';
  172.     /**
  173.      * @var string|null
  174.      *
  175.      * @ORM\Column(name="estatus", type="string", length=20, nullable=true, options={"default"="NULL","comment"="Para indicar el estado en que se encuentra el equipo
  176. 1=En operación
  177. 2=Descompuesto
  178. 3=Sin instalar
  179. 4=En proceso de baja
  180. 5=Baja"})
  181.      */
  182.     private $estatus '';
  183.     /**
  184.      * @var \DateTime|null
  185.      * @ORM\Column(name="falta", type="datetime", options={"default"="CURRENT_TIMESTAMP"})
  186.      */
  187.     private $falta;
  188.     /**
  189.      * @var \DateTime|null
  190.      * @ORM\Column(name="factualizacion", type="datetime", options={"default"="CURRENT_TIMESTAMP"})
  191.      */
  192.     private $factualizacion;
  193.     /**
  194.      * @var bool|null
  195.      *
  196.      * @ORM\Column(name="emhv", type="boolean", nullable=true, options={"default"="NULL","comment"="Solo hay dos opciones: ""1"" si cumple con EMHV o ""0"" si no cumple con EMHV."})
  197.      */
  198.     private $emhv;
  199.     /**
  200.      * @var Usuario
  201.      *
  202.      * @ORM\ManyToOne(targetEntity="Usuario")
  203.      * @ORM\JoinColumns({
  204.      *   @ORM\JoinColumn(name="usuario", referencedColumnName="id_usu")
  205.      * })
  206.      */
  207.     private $usuario;
  208.     /**
  209.      * @var Ubicacion
  210.      *
  211.      * @ORM\ManyToOne(targetEntity="Ubicacion")
  212.      * @ORM\JoinColumns({
  213.      *   @ORM\JoinColumn(name="ubicacion", referencedColumnName="id_ubi")
  214.      * })
  215.      */
  216.     private $ubicacion;
  217.     /**
  218.      * @var \Unidad
  219.      *
  220.      * @ORM\ManyToOne(targetEntity="Unidad")
  221.      * @ORM\JoinColumns({
  222.      *   @ORM\JoinColumn(name="unidad", referencedColumnName="id_uni")
  223.      * })
  224.      */
  225.     private $unidad;
  226.     /**
  227.      * @var int
  228.      *
  229.      * @ORM\Column(name="mantenimiento_count", type="integer", nullable=false, options={"default"=0, "comment"="Número de mantenimientos realizados"})
  230.      */
  231.     private $mantenimientoCount 0;
  232.     /**
  233.      * @var bool|null
  234.      *
  235.      * @ORM\Column(name="allinone", type="boolean", options={"default" : 0}, nullable=true)
  236.      */
  237.     private ?bool $allinone false;
  238.     /**
  239.      * @var bool|null
  240.      *
  241.      *
  242.      * @ORM\Column(name="actualizable", type="boolean", options={"default" : 1}, nullable=true)
  243.      */
  244.     /**
  245.      * @var string|null
  246.      * @ORM\Column(name="color", type="string", length=50, nullable=true)
  247.      */
  248.     private $color '';
  249.     /**
  250.      * @var string|null
  251.      * @ORM\Column(name="piso", type="string", options={"default" : 0}, length=10, nullable=true)
  252.      */
  253.     private $piso 0;
  254.     /**
  255.      * @var string|null
  256.      * @ORM\Column(name="seccion_aula", type="string", length=50, nullable=true)
  257.      */
  258.     private $seccionAula '';
  259.     /**
  260.      * @var string|null
  261.      * @ORM\Column(name="num_puerta_cubi", type="string", length=50, nullable=true)
  262.      */
  263.     private $numPuertaCubi '';
  264.     /**
  265.      * @var CMaterial
  266.      *
  267.      * @ORM\ManyToOne(targetEntity="CMaterial")
  268.      * @ORM\JoinColumns({
  269.      *   @ORM\JoinColumn(name="id_material", referencedColumnName="id_material")
  270.      * })
  271.      */
  272.     private $idMaterial;
  273.     /**
  274.      * @var CEstadoUso
  275.      *
  276.      * @ORM\ManyToOne(targetEntity="CEstadoUso")
  277.      * @ORM\JoinColumns({
  278.      *   @ORM\JoinColumn(name="id_uso", referencedColumnName="id_uso")
  279.      * })
  280.      */
  281.     private $idUso;
  282.     /**
  283.      * @var CMarcas
  284.      *
  285.      * @ORM\ManyToOne(targetEntity="CMarcas")
  286.      * @ORM\JoinColumns({
  287.      *   @ORM\JoinColumn(name="id_marca", referencedColumnName="id_marca")
  288.      * })
  289.      */
  290.     private $idMarca;
  291.     /**
  292.      * @var CMarcas
  293.      *
  294.      * @ORM\ManyToOne(targetEntity="CMarcas")
  295.      * @ORM\JoinColumns({
  296.      *   @ORM\JoinColumn(name="monitor_marca", referencedColumnName="id_marca")
  297.      * })
  298.      */
  299.     private $monitorMarca ;
  300.     /**
  301.      * @var CMarcas
  302.      *
  303.      * @ORM\ManyToOne(targetEntity="CMarcas")
  304.      * @ORM\JoinColumns({
  305.      *   @ORM\JoinColumn(name="teclado_marca", referencedColumnName="id_marca")
  306.      * })
  307.      */
  308.     private $tecladoMarca ;
  309.     /**
  310.      * @var CMarcas
  311.      *
  312.      * @ORM\ManyToOne(targetEntity="CMarcas")
  313.      * @ORM\JoinColumns({
  314.      *   @ORM\JoinColumn(name="mouse_marca", referencedColumnName="id_marca")
  315.      * })
  316.      */
  317.     private $mouseMarca ;
  318.     private ?bool $actualizable true;
  319.     public function getAllinone(): ?bool
  320.     {
  321.         return $this->allinone;
  322.     }
  323.     public function setAllinone(?bool $allinone): self
  324.     {
  325.         $this->allinone $allinone;
  326.         return $this;
  327.     }
  328.     public function getActualizable(): ?bool
  329.     {
  330.         return $this->actualizable;
  331.     }
  332.     public function setActualizable(?bool $actualizable): self
  333.     {
  334.         $this->actualizable $actualizable;
  335.         return $this;
  336.     }
  337.     public function getMantenimientoCount(): ?int
  338.     {
  339.         return $this->mantenimientoCount;
  340.     }
  341.     public function setMantenimientoCount(int $mantenimientoCount): self
  342.     {
  343.         $this->mantenimientoCount $mantenimientoCount;
  344.         return $this;
  345.     }
  346.     public function incrementMantenimientoCount(): void
  347.     {
  348.         $this->mantenimientoCount++;
  349.     }
  350.     public function getIdEqu(): ?int
  351.     {
  352.         return $this->idEqu;
  353.     }
  354.     public function getMarbete(): ?string
  355.     {
  356.         return $this->marbete;
  357.     }
  358.     public function setMarbete(?string $marbete): self
  359.     {
  360.         $this->marbete $marbete;
  361.         return $this;
  362.     }
  363.     public function getDescripcion(): ?string
  364.     {
  365.         return $this->descripcion;
  366.     }
  367.     public function setDescripcion(?string $descripcion): self
  368.     {
  369.         $this->descripcion $descripcion;
  370.         return $this;
  371.     }
  372.     public function getModelo(): ?string
  373.     {
  374.         return $this->modelo;
  375.     }
  376.     public function setModelo(?string $modelo): self
  377.     {
  378.         $this->modelo $modelo;
  379.         return $this;
  380.     }
  381.     public function getSerie(): ?string
  382.     {
  383.         return $this->serie;
  384.     }
  385.     public function setSerie(?string $serie): self
  386.     {
  387.         $this->serie $serie;
  388.         return $this;
  389.     }
  390.     public function getProcesador(): ?string
  391.     {
  392.         return $this->procesador;
  393.     }
  394.     public function setProcesador(?string $procesador): self
  395.     {
  396.         $this->procesador $procesador;
  397.         return $this;
  398.     }
  399.     public function getNucleos(): ?int
  400.     {
  401.         return $this->nucleos;
  402.     }
  403.     public function setNucleos(?int $nucleos): self
  404.     {
  405.         $this->nucleos $nucleos;
  406.         return $this;
  407.     }
  408.     public function getCpuVelocidad(): ?string
  409.     {
  410.         return $this->cpuVelocidad;
  411.     }
  412.     public function setCpuVelocidad(?string $cpuVelocidad): self
  413.     {
  414.         $this->cpuVelocidad $cpuVelocidad;
  415.         return $this;
  416.     }
  417.     public function getRam(): ?string
  418.     {
  419.         return $this->ram;
  420.     }
  421.     public function setRam(?string $ram): self
  422.     {
  423.         $this->ram $ram;
  424.         return $this;
  425.     }
  426.     public function getHhd(): ?int
  427.     {
  428.         return $this->hhd !== null ? (int) $this->hhd null;
  429.     }
  430.     public function setHhd(?int $hhd): self
  431.     {
  432.         $this->hhd $hhd !== null ? (int) $hhd null;
  433.         return $this;
  434.     }
  435.     public function getSsd(): ?int
  436.     {
  437.         return $this->ssd !== null ? (int) $this->ssd null;
  438.     }
  439.     public function setSsd(?int $ssd): self
  440.     {
  441.         $this->ssd $ssd !== null ? (int) $ssd null;
  442.         return $this;
  443.     }
  444.     public function getMac(): ?string
  445.     {
  446.         return $this->mac;
  447.     }
  448.     public function setMac(?string $mac): self
  449.     {
  450.         $this->mac $mac;
  451.         return $this;
  452.     }
  453.     public function getIp(): ?string
  454.     {
  455.         return $this->ip;
  456.     }
  457.     public function setIp(?string $ip): self
  458.     {
  459.         $this->ip $ip;
  460.         return $this;
  461.     }
  462.     public function getMonitorMarbete(): ?string
  463.     {
  464.         return $this->monitorMarbete;
  465.     }
  466.     public function setMonitorMarbete(?string $monitorMarbete): self
  467.     {
  468.         $this->monitorMarbete $monitorMarbete;
  469.         return $this;
  470.     }
  471.     public function getMonitorModelo(): ?string
  472.     {
  473.         return $this->monitorModelo;
  474.     }
  475.     public function setMonitorModelo(?string $monitorModelo): self
  476.     {
  477.         $this->monitorModelo $monitorModelo;
  478.         return $this;
  479.     }
  480.     public function getMonitorSerie(): ?string
  481.     {
  482.         return $this->monitorSerie;
  483.     }
  484.     public function setMonitorSerie(?string $monitorSerie): self
  485.     {
  486.         $this->monitorSerie $monitorSerie;
  487.         return $this;
  488.     }
  489.     public function getMonitorTipo(): ?string
  490.     {
  491.         return $this->monitorTipo;
  492.     }
  493.     public function setMonitorTipo(?string $monitorTipo): self
  494.     {
  495.         $this->monitorTipo $monitorTipo;
  496.         return $this;
  497.     }
  498.     public function getMonitorPulgadas(): ?string
  499.     {
  500.         return $this->monitorPulgadas;
  501.     }
  502.     public function setMonitorPulgadas(?string $monitorPulgadas): self
  503.     {
  504.         $this->monitorPulgadas $monitorPulgadas;
  505.         return $this;
  506.     }
  507.     public function getTecladoModelo(): ?string
  508.     {
  509.         return $this->tecladoModelo;
  510.     }
  511.     public function setTecladoModelo(?string $tecladoModelo): self
  512.     {
  513.         $this->tecladoModelo $tecladoModelo;
  514.         return $this;
  515.     }
  516.     public function getTecladoSerie(): ?string
  517.     {
  518.         return $this->tecladoSerie;
  519.     }
  520.     public function setTecladoSerie(?string $tecladoSerie): self
  521.     {
  522.         $this->tecladoSerie $tecladoSerie;
  523.         return $this;
  524.     }
  525.     public function getMouseModelo(): ?string
  526.     {
  527.         return $this->mouseModelo;
  528.     }
  529.     public function setMouseModelo(?string $mouseModelo): self
  530.     {
  531.         $this->mouseModelo $mouseModelo;
  532.         return $this;
  533.     }
  534.     public function getMouseSerie(): ?string
  535.     {
  536.         return $this->mouseSerie;
  537.     }
  538.     public function setMouseSerie(?string $mouseSerie): self
  539.     {
  540.         $this->mouseSerie $mouseSerie;
  541.         return $this;
  542.     }
  543.     public function getUso(): ?string
  544.     {
  545.         return $this->uso;
  546.     }
  547.     public function setUso(?string $uso): self
  548.     {
  549.         $this->uso $uso;
  550.         return $this;
  551.     }
  552.     public function getFuncion(): ?string
  553.     {
  554.         return $this->funcion;
  555.     }
  556.     public function setFuncion(?string $funcion): self
  557.     {
  558.         $this->funcion $funcion;
  559.         return $this;
  560.     }
  561.     public function getFuncionDescripcion(): ?string
  562.     {
  563.         return $this->funcionDescripcion;
  564.     }
  565.     public function setFuncionDescripcion(?string $funcionDescripcion): self
  566.     {
  567.         $this->funcionDescripcion $funcionDescripcion;
  568.         return $this;
  569.     }
  570.     public function getEstatus(): ?string
  571.     {
  572.         return $this->estatus;
  573.     }
  574.     public function setEstatus(?string $estatus): self
  575.     {
  576.         $this->estatus $estatus;
  577.         return $this;
  578.     }
  579.     public function getFalta(): ?\DateTimeInterface
  580.     {
  581.         return $this->falta;
  582.     }
  583.     public function setFalta(?\DateTimeInterface $falta): self
  584.     {
  585.         $this->falta $falta;
  586.         return $this;
  587.     }
  588.     public function getFactualizacion(): ?\DateTimeInterface
  589.     {
  590.         return $this->factualizacion;
  591.     }
  592.     public function setFactualizacion(?\DateTimeInterface $factualizacion): self
  593.     {
  594.         $this->factualizacion $factualizacion;
  595.         return $this;
  596.     }
  597.     public function isEmhv(): ?bool
  598.     {
  599.         return $this->emhv;
  600.     }
  601.     public function setEmhv(?bool $emhv): self
  602.     {
  603.         $this->emhv $emhv;
  604.         return $this;
  605.     }
  606.     public function getUsuario(): ?Usuario
  607.     {
  608.         return $this->usuario;
  609.     }
  610.     public function setUsuario(?Usuario $usuario): self
  611.     {
  612.         $this->usuario $usuario;
  613.         return $this;
  614.     }
  615.     public function getUbicacion(): ?Ubicacion
  616.     {
  617.         return $this->ubicacion;
  618.     }
  619.     public function setUbicacion(?Ubicacion $ubicacion): self
  620.     {
  621.         $this->ubicacion $ubicacion;
  622.         return $this;
  623.     }
  624.     public function getUnidad(): ?Unidad
  625.     {
  626.         return $this->unidad;
  627.     }
  628.     public function setUnidad(?Unidad $unidad): self
  629.     {
  630.         $this->unidad $unidad;
  631.         return $this;
  632.     }
  633.     public function __toString(){
  634.         //return $this->marbete;
  635.         return "(" $this->idEqu") " $this->marbete;
  636.     }
  637.     public function getColor(): ?string
  638.     {
  639.         return $this->color;
  640.     }
  641.     public function setColor(?string $color): self
  642.     {
  643.         $this->color $color;
  644.         return $this;
  645.     }
  646.     // Entidad de equipo
  647.     /**
  648.      * Get the value of piso
  649.      *
  650.      * @return  string|null
  651.      */ 
  652.     public function getPiso()
  653.     {
  654.         return $this->piso;
  655.     }
  656.     /**
  657.      * Set the value of piso
  658.      *
  659.      * @param  string|null  $piso
  660.      *
  661.      * @return  self
  662.      */ 
  663.     public function setPiso($piso): self
  664.     {
  665.         $this->piso $piso;
  666.         return $this;
  667.     }
  668.     /**
  669.      * Get the value of seccionAula
  670.      *
  671.      * @return  string|null
  672.      */ 
  673.     public function getSeccionAula()
  674.     {
  675.         return $this->seccionAula;
  676.     }
  677.     /**
  678.      * Set the value of seccionAula
  679.      *
  680.      * @param  string|null  $seccionAula
  681.      *
  682.      * @return  self
  683.      */ 
  684.     public function setSeccionAula($seccionAula): self
  685.     {
  686.         $this->seccionAula $seccionAula;
  687.         return $this;
  688.     }
  689.     /**
  690.      * Get the value of numPuertaCubi
  691.      *
  692.      * @return  string|null
  693.      */ 
  694.     public function getNumPuertaCubi()
  695.     {
  696.         return $this->numPuertaCubi;
  697.     }
  698.     /**
  699.      * Set the value of numPuertaCubi
  700.      *
  701.      * @param  string|null  $numPuertaCubi
  702.      *
  703.      * @return  self
  704.      */ 
  705.     public function setNumPuertaCubi($numPuertaCubi)
  706.     {
  707.         $this->numPuertaCubi $numPuertaCubi;
  708.         return $this;
  709.     }
  710.     /**
  711.      * Get the value of idMaterial
  712.      *
  713.      * @return  CMaterial
  714.      */ 
  715.     public function getIdMaterial()
  716.     {
  717.         return $this->idMaterial;
  718.     }
  719.     /**
  720.      * Set the value of idMaterial
  721.      *
  722.      * @param  CMaterial|null  $idMaterial
  723.      *
  724.      * @return  self
  725.      */ 
  726.     public function setIdMaterial(?CMaterial $idMaterial): self
  727.     {
  728.         $this->idMaterial $idMaterial;
  729.         return $this;
  730.     }
  731.     /**
  732.      * Get the value of idUso
  733.      *
  734.      * @return  CEstadoUso
  735.      */ 
  736.     public function getIdUso()
  737.     {
  738.         return $this->idUso;
  739.     }
  740.     /**
  741.      * Set the value of idUso
  742.      *
  743.      * @param  CEstadoUso|null  $idUso
  744.      *
  745.      * @return  self
  746.      */ 
  747.     public function setIdUso(?CEstadoUso $idUso): self
  748.     {
  749.         $this->idUso $idUso;
  750.         return $this;
  751.     }
  752.     /**
  753.      * Get the value of idMarca
  754.      *
  755.      * @return  CMarcas
  756.      */ 
  757.     public function getIdMarca()
  758.     {
  759.         return $this->idMarca;
  760.     }
  761.     /**
  762.      * Set the value of idMarca
  763.      *
  764.      * @param  CMarcas|null  $idMarca
  765.      *
  766.      * @return  self
  767.      */ 
  768.     public function setIdMarca(?CMarcas $idMarca): self
  769.     {
  770.         $this->idMarca $idMarca;
  771.         return $this;
  772.     }
  773.     /**
  774.      * Get the value of monitorMarca
  775.      *
  776.      * @return  CMarcas
  777.      */ 
  778.     public function getMonitorMarca()
  779.     {
  780.         return $this->monitorMarca;
  781.     }
  782.     /**
  783.      * Set the value of monitorMarca
  784.      *
  785.      * @param  CMarcas|null  $monitorMarca
  786.      *
  787.      * @return  self
  788.      */ 
  789.     public function setMonitorMarca(?CMarcas $monitorMarca): self
  790.     {
  791.         $this->monitorMarca $monitorMarca;
  792.         return $this;
  793.     }
  794.     /**
  795.      * Get the value of tecladoMarca
  796.      *
  797.      * @return  CMarcas
  798.      */ 
  799.     public function getTecladoMarca()
  800.     {
  801.         return $this->tecladoMarca;
  802.     }
  803.     /**
  804.      * Set the value of tecladoMarca
  805.      *
  806.      * @param  CMarcas|null  $tecladoMarca
  807.      *
  808.      * @return  self
  809.      */ 
  810.     public function setTecladoMarca(?CMarcas $tecladoMarca): self
  811.     {
  812.         $this->tecladoMarca $tecladoMarca;
  813.         return $this;
  814.     }
  815.     /**
  816.      * Get the value of mouseMarca
  817.      *
  818.      * @return  CMarcas
  819.      */ 
  820.     public function getMouseMarca()
  821.     {
  822.         return $this->mouseMarca;
  823.     }
  824.     /**
  825.      * Set the value of mouseMarca
  826.      *
  827.      * @param  CMarcas|null  $mouseMarca
  828.      *
  829.      * @return  self
  830.      */ 
  831.     public function setMouseMarca(?CMarcas $mouseMarca): self
  832.     {
  833.         $this->mouseMarca $mouseMarca;
  834.         return $this;
  835.     }
  836. }