src/Entity/PodcastPrivateLog.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PodcastPrivateLogRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassPodcastPrivateLogRepository::class)]
  6. class PodcastPrivateLog
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityPodcastPrivateTask::class, inversedBy'podcastPrivateLogs')]
  13.     private $podcastPrivateTask;
  14.     #[ORM\Column(type'datetime_immutable')]
  15.     private $createdAt;
  16.     #[ORM\Column(type'text'nullabletrue)]
  17.     private $message;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $type;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getPodcastPrivateTask(): ?PodcastPrivateTask
  25.     {
  26.         return $this->podcastPrivateTask;
  27.     }
  28.     public function setPodcastPrivateTask(?PodcastPrivateTask $podcastPrivateTask): self
  29.     {
  30.         $this->podcastPrivateTask $podcastPrivateTask;
  31.         return $this;
  32.     }
  33.     public function getCreatedAt(): ?\DateTimeImmutable
  34.     {
  35.         return $this->createdAt;
  36.     }
  37.     public function setCreatedAt(\DateTimeImmutable $createdAt): self
  38.     {
  39.         $this->createdAt $createdAt;
  40.         return $this;
  41.     }
  42.     public function getMessage(): ?string
  43.     {
  44.         return $this->message;
  45.     }
  46.     public function setMessage(?string $message): self
  47.     {
  48.         $this->message $message;
  49.         return $this;
  50.     }
  51.     public function getType(): ?string
  52.     {
  53.         return $this->type;
  54.     }
  55.     public function setType(string $type): self
  56.     {
  57.         $this->type $type;
  58.         return $this;
  59.     }
  60. }