<?php
namespace App\Entity;
use App\Repository\PodcastPrivateLogRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: PodcastPrivateLogRepository::class)]
class PodcastPrivateLog
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: PodcastPrivateTask::class, inversedBy: 'podcastPrivateLogs')]
private $podcastPrivateTask;
#[ORM\Column(type: 'datetime_immutable')]
private $createdAt;
#[ORM\Column(type: 'text', nullable: true)]
private $message;
#[ORM\Column(type: 'string', length: 255)]
private $type;
public function getId(): ?int
{
return $this->id;
}
public function getPodcastPrivateTask(): ?PodcastPrivateTask
{
return $this->podcastPrivateTask;
}
public function setPodcastPrivateTask(?PodcastPrivateTask $podcastPrivateTask): self
{
$this->podcastPrivateTask = $podcastPrivateTask;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): self
{
$this->message = $message;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
}