<?phpnamespace App\Entity;use App\Repository\CompanyStatRecommendationRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=CompanyStatRecommendationRepository::class) */class CompanyStatRecommendation{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Objective::class) */ private $objective; /** * @ORM\ManyToOne(targetEntity=TvTag::class) */ private $tag; /** * @ORM\ManyToOne(targetEntity=Channel::class) */ private $channel; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $type; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $percentage; /** * @ORM\Column(type="datetime_immutable") */ private $createdAt; /** * @ORM\Column(type="datetime_immutable") */ private $updatedAt; /** * @ORM\Column(type="json", nullable=true) */ private $workShops = []; public function getId(): ?int { return $this->id; } public function getObjective(): ?Objective { return $this->objective; } public function setObjective(?Objective $objective): self { $this->objective = $objective; return $this; } public function getTag(): ?TvTag { return $this->tag; } public function setTag(?TvTag $tag): self { $this->tag = $tag; return $this; } public function getChannel(): ?Channel { return $this->channel; } public function setChannel(?Channel $channel): self { $this->channel = $channel; return $this; } public function getType(): ?string { return $this->type; } public function setType(?string $type): self { $this->type = $type; return $this; } public function getPercentage(): ?string { return $this->percentage; } public function setPercentage(?string $percentage): self { $this->percentage = $percentage; return $this; } public function getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeImmutable { return $this->updatedAt; } public function setUpdatedAt(\DateTimeImmutable $updatedAt): self { $this->updatedAt = $updatedAt; return $this; } public function getWorkShops(): ?array { return $this->workShops; } public function setWorkShops(?array $workShops): self { $this->workShops = $workShops; return $this; }}