Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile;
- use FOS\UserBundle\Entity\User as BaseUser;
- use Doctrine\Common\Collections\ArrayCollection;
- use SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile;
- /**
- * @orm:Entity(repositoryClass="SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile\LinkedInProfileRepository")
- */
- class LinkedInProfile extends SocialProfile
- {
- /** @orm:Column(type="string") */
- protected $name;
- /** @orm:Column(type="string") */
- protected $location;
- /** @orm:Column(type="integer") */
- protected $statusCount;
- /** @orm:Column(type="integer") */
- protected $questionsByMe;
- /** @orm:Column(type="integer") */
- protected $linksByMe;
- /** @orm:Column(type="integer") */
- protected $averageFollowersDay;
- /** @orm:Column(type="integer") */
- protected $groupsCount;
- /** @orm:Column(type="integer") */
- protected $discussionsByMeCount;
- /** @orm:Column(type="integer") */
- protected $commentsByMeCount;
- /** @orm:Column(type="integer") */
- protected $commentsByOthersCount;
- /** @orm:Column(type="datetime") */
- protected $lastChecked;
- /**
- * @orm:ManyToMany(targetEntity="SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile\LinkedInProfile")
- * @orm:JoinTable(name="model_linkedin_profile_ref",
- * joinColumns={@orm:JoinColumn(name="linkedin_profile_id", referencedColumnName="id")},
- * inverseJoinColumns={@orm:JoinColumn(name="model_linkedin_profile_id", referencedColumnName="id")}
- * )
- */
- protected $modelLinkedInProfiles;
- /**
- * @orm:OneToOne(targetEntity="SplashMedia\Bundle\OxygenBundle\Entity\ModelSocialProfile\ModelLinkedInProfile", mappedBy="linkedinProfile")
- */
- protected $modelLinkedInProfile;
- public function __construct()
- {
- $this->isConcept = false;
- $this->conceptWeight = false;
- $this->createdAt = new \DateTime();
- }
- public function getName()
- {
- return $this->name;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getUID()
- {
- return $this->uid;
- }
- public function setUID($uid)
- {
- $this->uid = $uid;
- }
- public function getLocation()
- {
- return $this->location;
- }
- public function setLocation($location)
- {
- $this->location = $location;
- }
- public function getStatusCount() {
- return $this->statusCount;
- }
- public function setStatusCount( $count ) {
- $this->statusCount = $count;
- }
- public function getQuestionsByMeCount() {
- return $this->questionsCount;
- }
- public function setQuestionsByMeCount( $count ) {
- $this->questionsCount = $count;
- }
- public function getLinksByMeCount() {
- return $this->linksCount;
- }
- public function setLinksByMeCount( $count ) {
- $this->linksCount = $count;
- }
- public function getGroupsCount() {
- return $this->groupsCount;
- }
- public function setGroupsCount( $count ) {
- $this->groupsCount = $count;
- }
- public function getGroupDiscussionsByMeCount() {
- return $this->discussionsByMeCount;
- }
- public function setGroupDiscussionsByMeCount( $count ) {
- $this->discussionsByMeCount = $count;
- }
- public function getGroupCommentsByMeCount() {
- return $this->commentsByMeCount;
- }
- public function setGroupCommentsByMeCount( $count ) {
- $this->commentsByMeCount = $count;
- }
- public function getGroupCommentsByOthersCount() {
- return $this->commentsByOthersCount;
- }
- public function setGroupCommentsByOthersCount( $count ) {
- $this->commentsByOthersCount = $count;
- }
- public function getLastChecked()
- {
- return $this->lastChecked;
- }
- public function setLastChecked( \DateTime $lastChecked )
- {
- $this->lastChecked = $lastChecked;
- }
- public function getModelLinkedInProfiles()
- {
- return $this->modelLinkedInProfiles;
- }
- public function setModelLinkedInProfiles($modelLinkedInProfiles)
- {
- $this->modelLinkedInProfiles = $modelLinkedInProfiles;
- }
- public function toCollabArray()
- {
- return array(
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement