src/Entity/RecordTiktok.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RecordTiktokRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassRecordTiktokRepository::class)]
  6. class RecordTiktok extends RecordSocialMedia
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(nullabletrue)]
  13.     private ?int $tiktokerProfileMediaCount null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?int $tiktokerProfileLikeCount null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getTiktokerProfileMediaCount(): ?int
  21.     {
  22.         return $this->tiktokerProfileMediaCount;
  23.     }
  24.     public function setTiktokerProfileMediaCount(?int $tiktokerProfileMediaCount): static
  25.     {
  26.         $this->tiktokerProfileMediaCount $tiktokerProfileMediaCount;
  27.         return $this;
  28.     }
  29.     public function getTiktokerProfileLikeCount(): ?int
  30.     {
  31.         return $this->tiktokerProfileLikeCount;
  32.     }
  33.     public function setTiktokerProfileLikeCount(?int $tiktokerProfileLikeCount): static
  34.     {
  35.         $this->tiktokerProfileLikeCount $tiktokerProfileLikeCount;
  36.         return $this;
  37.     }
  38.     public function isTiktok(): bool
  39.     {
  40.         return true;
  41.     }
  42. }