src/Entity/RecordFacebook.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RecordFacebookRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRecordFacebookRepository::class)]
  6. class RecordFacebook extends RecordSocialMedia
  7. {
  8. //"Video-posts" , "Picture Posts" ,"Link-posts"
  9.     #[ORM\Column(nullabletrue)]
  10.     private ?int $fbLinksPostCount null;
  11.     #[ORM\Column(length255nullabletrue)]
  12.     private ?string $fbPageLinkVideoClicksCount null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $fbPagePostsReactions null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $fbPagePostsCommentsCount null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $fbPagePostsSharesCount null;
  19.   
  20.     public function getFbLinksPostCount(): ?int
  21.     {
  22.         return $this->fbLinksPostCount;
  23.     }
  24.     public function setFbLinksPostCount(?int $fbLinksPostCount): static
  25.     {
  26.         $this->fbLinksPostCount $fbLinksPostCount;
  27.         return $this;
  28.     }
  29.     public function getFbPageLinkVideoClicksCount(): ?string
  30.     {
  31.         return $this->fbPageLinkVideoClicksCount;
  32.     }
  33.     public function setFbPageLinkVideoClicksCount(?string $fbPageLinkVideoClicksCount): static
  34.     {
  35.         $this->fbPageLinkVideoClicksCount $fbPageLinkVideoClicksCount;
  36.         return $this;
  37.     }
  38.     public function getFbPagePostsReactions(): ?string
  39.     {
  40.         return $this->fbPagePostsReactions;
  41.     }
  42.     public function setFbPagePostsReactions(?string $fbPagePostsReactions): static
  43.     {
  44.         $this->fbPagePostsReactions $fbPagePostsReactions;
  45.         return $this;
  46.     }
  47.     public function getFbPagePostsCommentsCount(): ?string
  48.     {
  49.         return $this->fbPagePostsCommentsCount;
  50.     }
  51.     public function setFbPagePostsCommentsCount(?string $fbPagePostsCommentsCount): static
  52.     {
  53.         $this->fbPagePostsCommentsCount $fbPagePostsCommentsCount;
  54.         return $this;
  55.     }
  56.     public function getFbPagePostsSharesCount(): ?string
  57.     {
  58.         return $this->fbPagePostsSharesCount;
  59.     }
  60.     public function setFbPagePostsSharesCount(?string $fbPagePostsSharesCount): static
  61.     {
  62.         $this->fbPagePostsSharesCount $fbPagePostsSharesCount;
  63.         return $this;
  64.     }
  65.     public function isFacebook(): bool
  66.     {
  67.         return true;
  68.     }
  69.     
  70. }