<?php
namespace Products\SocialBundle\Entity\SocialAccounts;
use Doctrine\ORM\Mapping as ORM;
use Products\SocialBundle\Entity\SocialAccount;
/**
* Class FacebookSocialAccount
*
* @package Products\SocialBundle\Entity\SocialAccounts
*
* @ORM\Entity(
* repositoryClass = "Products\SocialBundle\Doctrine\Repository\SocialAccounts\FacebookSocialAccountRepository"
* )
*/
class FacebookSocialAccount extends SocialAccount
{
const DISCR = 'facebook';
/**
* @var int
*
* @ORM\Column(
* type = "bigint",
* nullable = false
* )
*/
protected $facebookPageId;
/**
* @var int
*
* @ORM\Column(
* type = "bigint",
* nullable = false
* )
*/
protected $facebookUserId;
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected $facebookUserName;
/**
* @var string
*
* @ORM\Column(
* type = "string",
* nullable = false
* )
*/
protected $facebookAccessToken;
/**
* @return string
*/
public function getFacebookAccessToken()
{
return $this->facebookAccessToken;
}
/**
* @param string $value
* @return $this
*/
public function setFacebookAccessToken($value)
{
$this->facebookAccessToken = $value;
return $this;
}
/**
* @return int
*/
public function getFacebookPageId()
{
return $this->facebookPageId;
}
/**
* @param int $value
* @return $this
*/
public function setFacebookPageId($value)
{
$this->facebookPageId = $value;
return $this;
}
/**
* @return int
*/
public function getFacebookUserId()
{
return $this->facebookUserId;
}
/**
* @param int $value
* @return $this
*/
public function setFacebookUserId($value)
{
$this->facebookUserId = $value;
return $this;
}
/**
* @return string
*/
public function getFacebookUserName()
{
return $this->facebookUserName;
}
/**
* @param string $value
* @return $this
*/
public function setFacebookUserName($value)
{
$this->facebookUserName = $value;
return $this;
}
}