<?php
namespace Products\SocialBundle\Entity\SocialAccounts;
use Doctrine\ORM\Mapping as ORM;
use Products\SocialBundle\Entity\SocialAccount;
/**
* Class TwitterSocialAccount
*
* @package Products\SocialBundle\Entity\SocialAccounts
*
* @ORM\Entity(
* repositoryClass = "Products\SocialBundle\Doctrine\Repository\SocialAccounts\TwitterSocialAccountRepository"
* )
*/
class TwitterSocialAccount extends SocialAccount
{
const DISCR = 'twitter';
/**
* @var int
*
* @ORM\Column(
* type = "bigint",
* nullable = false
* )
*/
protected $twitterUserId;
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected $twitterUserName;
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected $twitterAccessToken;
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected $twitterTokenSecret;
/**
* @return int
*/
public function getTwitterUserId()
{
return $this->twitterUserId;
}
/**
* @param int $value
* @return $this
*/
public function setTwitterUserId($value)
{
$this->twitterUserId = $value;
return $this;
}
/**
* @return string
*/
public function getTwitterUserName()
{
return $this->twitterUserName;
}
/**
* @param string $value
* @return $this
*/
public function setTwitterUserName($value)
{
$this->twitterUserName = $value;
return $this;
}
/**
* @return string
*/
public function getTwitterAccessToken()
{
return $this->twitterAccessToken;
}
/**
* @param string $value
* @return $this
*/
public function setTwitterAccessToken($value)
{
$this->twitterAccessToken = $value;
return $this;
}
/**
* @return string
*/
public function getTwitterTokenSecret()
{
return $this->twitterTokenSecret;
}
/**
* @param string $value
* @return $this
*/
public function setTwitterTokenSecret($value)
{
$this->twitterTokenSecret = $value;
return $this;
}
}