Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.42 KB | None | 0 0
  1. <?php
  2.  
  3. namespace SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile;
  4.  
  5. use FOS\UserBundle\Entity\User as BaseUser;
  6. use Doctrine\Common\Collections\ArrayCollection;
  7. use SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile;
  8.  
  9. /**
  10.  * @orm:Entity(repositoryClass="SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile\LinkedInProfileRepository")
  11.  */
  12. class LinkedInProfile extends SocialProfile
  13. {
  14.  
  15.     /** @orm:Column(type="string") */
  16.     protected $name;
  17.  
  18.     /** @orm:Column(type="string") */
  19.     protected $location;
  20.    
  21.     /** @orm:Column(type="integer") */
  22.     protected $statusCount;
  23.  
  24.     /** @orm:Column(type="integer") */
  25.     protected $questionsByMe;
  26.    
  27.     /** @orm:Column(type="integer") */
  28.     protected $linksByMe;
  29.    
  30.     /** @orm:Column(type="integer") */
  31.     protected $averageFollowersDay;
  32.  
  33.     /** @orm:Column(type="integer") */
  34.     protected $groupsCount;
  35.    
  36.     /** @orm:Column(type="integer") */
  37.     protected $discussionsByMeCount;
  38.    
  39.     /** @orm:Column(type="integer") */
  40.     protected $commentsByMeCount;
  41.        
  42.     /** @orm:Column(type="integer") */
  43.     protected $commentsByOthersCount;
  44.        
  45.     /** @orm:Column(type="datetime") */
  46.     protected $lastChecked;
  47.  
  48.     /**
  49.      * @orm:ManyToMany(targetEntity="SplashMedia\Bundle\OxygenBundle\Entity\SocialProfile\LinkedInProfile")
  50.      * @orm:JoinTable(name="model_linkedin_profile_ref",
  51.      *      joinColumns={@orm:JoinColumn(name="linkedin_profile_id", referencedColumnName="id")},
  52.      *      inverseJoinColumns={@orm:JoinColumn(name="model_linkedin_profile_id", referencedColumnName="id")}
  53.      * )
  54.      */
  55.     protected $modelLinkedInProfiles;
  56.  
  57.     /**
  58.      * @orm:OneToOne(targetEntity="SplashMedia\Bundle\OxygenBundle\Entity\ModelSocialProfile\ModelLinkedInProfile", mappedBy="linkedinProfile")
  59.      */
  60.     protected $modelLinkedInProfile;
  61.  
  62.     public function __construct()
  63.     {
  64.         $this->isConcept     = false;
  65.         $this->conceptWeight = false;
  66.         $this->createdAt     = new \DateTime();
  67.     }
  68.  
  69.     public function getName()
  70.     {
  71.         return $this->name;
  72.     }
  73.  
  74.     public function setName($name)
  75.     {
  76.         $this->name = $name;
  77.     }
  78.  
  79.     public function getUID()
  80.     {
  81.         return $this->uid;
  82.     }
  83.  
  84.     public function setUID($uid)
  85.     {
  86.         $this->uid = $uid;
  87.     }
  88.  
  89.     public function getLocation()
  90.     {
  91.         return $this->location;
  92.     }
  93.  
  94.     public function setLocation($location)
  95.     {
  96.         $this->location = $location;
  97.     }
  98.    
  99.     public function getStatusCount() {
  100.         return $this->statusCount;
  101.     }
  102.     public function setStatusCount( $count ) {
  103.         $this->statusCount = $count;
  104.     }
  105.  
  106.     public function getQuestionsByMeCount() {
  107.         return $this->questionsCount;
  108.     }
  109.     public function setQuestionsByMeCount( $count ) {
  110.         $this->questionsCount = $count;
  111.     }
  112.  
  113.     public function getLinksByMeCount() {
  114.         return $this->linksCount;
  115.     }
  116.     public function setLinksByMeCount( $count ) {
  117.         $this->linksCount = $count;
  118.     }
  119.  
  120.     public function getGroupsCount() {
  121.         return $this->groupsCount;
  122.     }
  123.     public function setGroupsCount( $count ) {
  124.         $this->groupsCount = $count;
  125.     }
  126.  
  127.     public function getGroupDiscussionsByMeCount() {
  128.         return $this->discussionsByMeCount;
  129.     }
  130.     public function setGroupDiscussionsByMeCount( $count ) {
  131.         $this->discussionsByMeCount = $count;
  132.     }
  133.  
  134.     public function getGroupCommentsByMeCount() {
  135.         return $this->commentsByMeCount;
  136.     }
  137.     public function setGroupCommentsByMeCount( $count ) {
  138.         $this->commentsByMeCount = $count;
  139.     }
  140.  
  141.     public function getGroupCommentsByOthersCount() {
  142.         return $this->commentsByOthersCount;
  143.     }
  144.     public function setGroupCommentsByOthersCount( $count ) {
  145.         $this->commentsByOthersCount = $count;
  146.     }
  147.  
  148.     public function getLastChecked()
  149.     {
  150.         return $this->lastChecked;
  151.     }
  152.  
  153.     public function setLastChecked( \DateTime $lastChecked )
  154.     {
  155.         $this->lastChecked = $lastChecked;
  156.     }
  157.  
  158.     public function getModelLinkedInProfiles()
  159.     {
  160.         return $this->modelLinkedInProfiles;
  161.     }
  162.  
  163.     public function setModelLinkedInProfiles($modelLinkedInProfiles)
  164.     {
  165.         $this->modelLinkedInProfiles = $modelLinkedInProfiles;
  166.     }
  167.  
  168.     public function toCollabArray()
  169.     {
  170.         return array(
  171.         );
  172.     }
  173.  
  174. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement