<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* TbHobbie
*
* @ORM\Table(name="tb_hobbie", uniqueConstraints={@ORM\UniqueConstraint(name="int_id_hobbie_UNIQUE", columns={"int_id_hobbie"})})
* @ORM\Entity(repositoryClass="App\Repository\TbHobbieRepository")
*/
class TbHobbie
{
/**
* @var int
*
* @ORM\Column(name="int_id_hobbie", type="integer", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $intIdHobbie;
/**
* @var string
*
* @ORM\Column(name="str_hobbie", type="string", length=255, nullable=false)
*/
private $strHobbie;
/**
* @var bool
*
* @ORM\Column(name="tint_estado", type="boolean", nullable=false)
*/
private $tintEstado;
public function getIntIdHobbie(): ?int
{
return $this->intIdHobbie;
}
public function getStrHobbie(): ?string
{
return $this->strHobbie;
}
public function setStrHobbie(string $strHobbie): self
{
$this->strHobbie = $strHobbie;
return $this;
}
public function isTintEstado(): ?bool
{
return $this->tintEstado;
}
public function setTintEstado(bool $tintEstado): self
{
$this->tintEstado = $tintEstado;
return $this;
}
}