<?php
namespace App\Entity;
use App\Repository\StatEcoutePodcastRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: StatEcoutePodcastRepository::class)]
class StatEcoutePodcast
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: AccountingFirm::class, inversedBy: 'statEcoutePodcast')]
#[ORM\JoinColumn(nullable: false)]
private $Cabinet;
#[ORM\Column(type: 'string', length: 255)]
private $Annee;
#[ORM\Column(type: 'string', length: 255)]
private $mois;
#[ORM\Column(type: 'string', length: 255)]
private $Ecoutes;
public function getId(): ?int
{
return $this->id;
}
public function getCabinet(): ?AccountingFirm
{
return $this->Cabinet;
}
public function setCabinet(?AccountingFirm $Cabinet): self
{
$this->Cabinet = $Cabinet;
return $this;
}
public function getAnnee(): ?string
{
return $this->Annee;
}
public function setAnnee(string $Annee): self
{
$this->Annee = $Annee;
return $this;
}
public function getMois(): ?string
{
return $this->mois;
}
public function setMois(string $mois): self
{
$this->mois = $mois;
return $this;
}
public function getEcoutes(): ?string
{
return $this->Ecoutes;
}
public function setEcoutes(string $Ecoutes): self
{
$this->Ecoutes = $Ecoutes;
return $this;
}
}