src/Entity/CEstadoUso.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * CEstadoUso
  6.  *
  7.  * @ORM\Table(name="c_estado_uso", indexes={@ORM\Index(name="equipo_c_estado_uso_fk", columns={"id_uso"})})
  8.  * @ORM\Entity
  9.  */
  10. class CEstadoUso
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id_uso", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idUso;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="estatus_uso", type="string", length=30, nullable=false)
  24.      */
  25.     private $estatusUso;
  26.     
  27.     public function getIdUso(): ?int
  28.     {
  29.         return $this->idUso;
  30.     }
  31.     public function getEstatusUso(): ?string
  32.     {
  33.         return $this->estatusUso;
  34.     }
  35.     public function setEstatusUso(string $estatusUso): self
  36.     {
  37.         $this->estatusUso $estatusUso;
  38.         return $this;
  39.     }
  40. }