<?php
namespace App\MDS\DevelupBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* MdvTelegramUser
*
* @ORM\Table(name="mdv_telegram_user")
* @ORM\Entity(repositoryClass="App\MDS\DevelupBundle\Repository\MdvTelegramUserRepository")
*/
class MdvTelegramUser
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="chat_id", type="string", length=255)
*/
private $chatId;
/**
* @var string
*
* @ORM\Column(name="bot_token", type="string", length=255)
*/
private $botToken;
/**
* @var int
*
* @ORM\Column(name="userId", type="integer")
*/
private $userId;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set chatId
*
* @param string $chatId
*
* @return MdvTelegramUser
*/
public function setChatId($chatId)
{
$this->chatId = $chatId;
return $this;
}
/**
* Get chatId
*
* @return string
*/
public function getChatId()
{
return $this->chatId;
}
/**
* Set botToken
*
* @param string $botToken
*
* @return MdvTelegramUser
*/
public function setBotToken($botToken)
{
$this->botToken = $botToken;
return $this;
}
/**
* Get botToken
*
* @return string
*/
public function getBotToken()
{
return $this->botToken;
}
/**
* Set userId
*
* @param integer $userId
*
* @return MdvTelegramUser
*/
public function setUserId($userId)
{
$this->userId = $userId;
return $this;
}
/**
* Get userId
*
* @return integer
*/
public function getUserId()
{
return $this->userId;
}
}