src/Entity/RecordTwitter.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RecordTwitterRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRecordTwitterRepository::class)]
  6. class RecordTwitter extends RecordSocialMedia
  7. {
  8.     const REACH_METRIC_NAME 'page_posts_impressions';
  9.     #[ORM\Column(length255nullabletrue)]
  10.     private ?string $tweetsRetweets null;
  11.     #[ORM\Column(length255nullabletrue)]
  12.     private ?string $tweetsLikes null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $tweetsReplies null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $tweetsQuotes null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $tweetsUrlLinkClicks null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $profileOverallTweets null;
  21.     public function getTweetsRetweets(): ?string
  22.     {
  23.         return $this->tweetsRetweets;
  24.     }
  25.     public function setTweetsRetweets(?string $tweetsRetweets): static
  26.     {
  27.         $this->tweetsRetweets $tweetsRetweets;
  28.         return $this;
  29.     }
  30.     public function getTweetsLikes(): ?string
  31.     {
  32.         return $this->tweetsLikes;
  33.     }
  34.     public function setTweetsLikes(?string $tweetsLikes): static
  35.     {
  36.         $this->tweetsLikes $tweetsLikes;
  37.         return $this;
  38.     }
  39.     public function getTweetsReplies(): ?string
  40.     {
  41.         return $this->tweetsReplies;
  42.     }
  43.     public function setTweetsReplies(?string $tweetsReplies): static
  44.     {
  45.         $this->tweetsReplies $tweetsReplies;
  46.         return $this;
  47.     }
  48.     public function getTweetsQuotes(): ?string
  49.     {
  50.         return $this->tweetsQuotes;
  51.     }
  52.     public function setTweetsQuotes(?string $tweetsQuotes): static
  53.     {
  54.         $this->tweetsQuotes $tweetsQuotes;
  55.         return $this;
  56.     }
  57.     public function getTweetsUrlLinkClicks(): ?string
  58.     {
  59.         return $this->tweetsUrlLinkClicks;
  60.     }
  61.     public function setTweetsUrlLinkClicks(?string $tweetsUrlLinkClicks): static
  62.     {
  63.         $this->tweetsUrlLinkClicks $tweetsUrlLinkClicks;
  64.         return $this;
  65.     }
  66.     public function getReachMetricName(): ?string
  67.     {
  68.         return self::REACH_METRIC_NAME;
  69.     }
  70.     public function isTwitter(): bool
  71.     {
  72.         return true;
  73.     }
  74.     public function getProfileOverallTweets(): ?string
  75.     {
  76.         return $this->profileOverallTweets;
  77.     }
  78.     public function setProfileOverallTweets(?string $profileOverallTweets): static
  79.     {
  80.         $this->profileOverallTweets $profileOverallTweets;
  81.         return $this;
  82.     }
  83. }