src/Entity/RecordYoutube.php line 9
<?phpnamespace App\Entity;use App\Repository\RecordYoutubeRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: RecordYoutubeRepository::class)]class RecordYoutube extends RecordSocialMedia{const REACH_METRIC_NAME = 'page_posts_impressions';#[ORM\Column(length: 255, nullable: true)]private ?string $channelLikesCount = null;#[ORM\Column(length: 255, nullable: true)]private ?string $channelDislikesCount = null;#[ORM\Column(length: 255, nullable: true)]private ?string $channelCommentsCount = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelFollowsPerDay = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelUnfollowsPerDay = null;#[ORM\Column(length: 255, nullable: true)]private ?string $channelViewsCount = null;#[ORM\Column(length: 255, nullable: true)]private ?string $channelTotalVideosCount = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelEstimatedMinutesWatched = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelAverageViewDuration = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelSharesPerDay = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelCommentsPerDay = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelLikesPerDay = null;#[ORM\Column(length: 255, nullable: true)]private ?string $youtubeChannelDislikesPerDay = null;public function getChannelLikesCount(): ?string{return $this->channelLikesCount;}public function setChannelLikesCount(?string $channelLikesCount): static{$this->channelLikesCount = $channelLikesCount;return $this;}public function getChannelDislikesCount(): ?string{return $this->channelDislikesCount;}public function setChannelDislikesCount(?string $channelDislikesCount): static{$this->channelDislikesCount = $channelDislikesCount;return $this;}public function getChannelCommentsCount(): ?string{return $this->channelCommentsCount;}public function setChannelCommentsCount(?string $channelCommentsCount): static{$this->channelCommentsCount = $channelCommentsCount;return $this;}public function getYoutubeChannelFollowsPerDay(): ?string{return $this->youtubeChannelFollowsPerDay;}public function setYoutubeChannelFollowsPerDay(?string $youtubeChannelFollowsPerDay): static{$this->youtubeChannelFollowsPerDay = $youtubeChannelFollowsPerDay;return $this;}public function getYoutubeChannelUnfollowsPerDay(): ?string{return $this->youtubeChannelUnfollowsPerDay;}public function setYoutubeChannelUnfollowsPerDay(?string $youtubeChannelUnfollowsPerDay): static{$this->youtubeChannelUnfollowsPerDay = $youtubeChannelUnfollowsPerDay;return $this;}public function getChannelViewsCount(): ?string{return $this->channelViewsCount;}public function setChannelViewsCount(?string $channelViewsCount): static{$this->channelViewsCount = $channelViewsCount;return $this;}public function getChannelTotalVideosCount(): ?string{return $this->channelTotalVideosCount;}public function setChannelTotalVideosCount(?string $channelTotalVideosCount): static{$this->channelTotalVideosCount = $channelTotalVideosCount;return $this;}public function getYoutubeChannelEstimatedMinutesWatched(): ?string{return $this->youtubeChannelEstimatedMinutesWatched;}public function setYoutubeChannelEstimatedMinutesWatched(?string $youtubeChannelEstimatedMinutesWatched): static{$this->youtubeChannelEstimatedMinutesWatched = $youtubeChannelEstimatedMinutesWatched;return $this;}public function getYoutubeChannelAverageViewDuration(): ?string{return $this->youtubeChannelAverageViewDuration;}public function setYoutubeChannelAverageViewDuration(?string $youtubeChannelAverageViewDuration): static{$this->youtubeChannelAverageViewDuration = $youtubeChannelAverageViewDuration;return $this;}public function getYoutubeChannelSharesPerDay(): ?string{return $this->youtubeChannelSharesPerDay;}public function setYoutubeChannelSharesPerDay(?string $youtubeChannelSharesPerDay): static{$this->youtubeChannelSharesPerDay = $youtubeChannelSharesPerDay;return $this;}public function getYoutubeChannelCommentsPerDay(): ?string{return $this->youtubeChannelCommentsPerDay;}public function setYoutubeChannelCommentsPerDay(?string $youtubeChannelCommentsPerDay): static{$this->youtubeChannelCommentsPerDay = $youtubeChannelCommentsPerDay;return $this;}public function getReachMetricName(): ?string{return self::REACH_METRIC_NAME;}public function getPostsPerDay(): ?string{return $this->getPostsCount();}public function isYoutube(): bool{return true;}public function getYoutubeChannelLikesPerDay(): ?string{return $this->youtubeChannelLikesPerDay;}public function setYoutubeChannelLikesPerDay(?string $youtubeChannelLikesPerDay): static{$this->youtubeChannelLikesPerDay = $youtubeChannelLikesPerDay;return $this;}public function getYoutubeChannelDislikesPerDay(): ?string{return $this->youtubeChannelDislikesPerDay;}public function setYoutubeChannelDislikesPerDay(?string $youtubeChannelDislikesPerDay): static{$this->youtubeChannelDislikesPerDay = $youtubeChannelDislikesPerDay;return $this;}}