<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* CvdAdvices
*
* @ORM\Table(name="cvd_advices")
* @ORM\Entity(repositoryClass="App\Repository\CvdAdvicesRepository")
*/
class CvdAdvices
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var int
*
* @ORM\Column(name="language_id", type="integer", options={"unsigned":true})
*/
private $languageId;
/**
* @var string
*
* @ORM\Column(name="advice", type="text")
*/
private $advice;
/**
* @var bool
*
* @ORM\Column(name="smoker", type="boolean")
*/
private $smoker;
/**
* @var bool
*
* @ORM\Column(name="non_smoker", type="boolean")
*/
private $nonSmoker;
/**
* @var bool
*
* @ORM\Column(name="imc_exceeded", type="boolean")
*/
private $imcExceeded;
/**
* @var bool
*
* @ORM\Column(name="is_default", type="boolean")
*/
private $isDefault;
/**
* @var int
*
* @ORM\Column(name="country_id", type="integer", options={"unsigned":true})
*/
private $countryId;
/**
* @var string
*
* @ORM\Column(name="title", type="text")
*/
private $title;
/**
* @var bool
*
* @ORM\Column(name="pro_version", type="boolean", options={"default": false})
*/
private $proVersion = false;
/**
* @var string
*
* @ORM\Column(name="image", type="text")
*/
private $image;
/**
* @ORM\Column(type="integer")
*/
private $diabetes_status;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set languageId
*
* @param integer $languageId
*
* @return CvdAdvices
*/
public function setLanguageId($languageId)
{
$this->languageId = $languageId;
return $this;
}
/**
* Get languageId
*
* @return int
*/
public function getLanguageId()
{
return $this->languageId;
}
/**
* Set proVersion
*
* @param bool $proVersion
*
* @return CvdAdvices
*/
public function setProVersion($proVersion)
{
$this->proVersion = $proVersion;
return $this;
}
/**
* Get proVersion
*
* @return bool
*/
public function getProVersion()
{
return $this->proVersion;
}
/**
* Set advice
*
* @param string $advice
*
* @return CvdAdvices
*/
public function setAdvice($advice)
{
$this->advice = $advice;
return $this;
}
/**
* Get advice
*
* @return string
*/
public function getAdvice()
{
return $this->advice;
}
/**
* Set smoker
*
* @param boolean $smoker
*
* @return CvdAdvices
*/
public function setSmoker($smoker)
{
$this->smoker = $smoker;
return $this;
}
/**
* Get smoker
*
* @return bool
*/
public function getSmoker()
{
return $this->smoker;
}
/**
* @return bool
*/
public function getImcExceeded()
{
return $this->imcExceeded;
}
/**
* @param bool $imcExceeded
*/
public function setImcExceeded(bool $imcExceeded)
{
$this->imcExceeded = $imcExceeded;
return $this;
}
/**
* @return bool
*/
public function getIsDefault(): bool
{
return $this->isDefault;
}
/**
* @param bool $isDefault
*/
public function setIsDefault(bool $isDefault)
{
$this->isDefault = $isDefault;
return $this;
}
/**
* @return bool
*/
public function getNonSmoker(): bool
{
return $this->nonSmoker;
}
/**
* @param bool $nonSmoker
*/
public function setNonSmoker(bool $nonSmoker): void
{
$this->nonSmoker = $nonSmoker;
}
/**
* @return int
*/
public function getCountryId(): int
{
return $this->countryId;
}
/**
* @param int $countryId
*/
public function setCountryId(int $countryId): void
{
$this->countryId = $countryId;
}
public function setTitle($title)
{
$this->title = $title;
return $this;
}
public function getTitle()
{
return $this->title;
}
public function setImage($image)
{
$this->image = $image;
return $this;
}
public function getImage()
{
return $this->image;
}
public function getDiabetesStatus(): ?int
{
return $this->diabetes_status;
}
public function setDiabetesStatus(int $diabetes_status): self
{
$this->diabetes_status = $diabetes_status;
return $this;
}
}