src/Entity/MoodAfterPostResponseVideoProgramChannel.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use ApiPlatform\Core\Annotation\ApiResource;
  4. use App\Repository\MoodAfterPostResponseVideoProgramChannelRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=MoodAfterPostResponseVideoProgramChannelRepository::class)
  8.  */
  9. class MoodAfterPostResponseVideoProgramChannel
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="integer")
  19.      */
  20.     private $moodAfterPostResponseId;
  21.     /**
  22.      * @ORM\Column(type="integer", nullable=true)
  23.      */
  24.     private $videoId;
  25.     /**
  26.      * @ORM\Column(type="integer", nullable=true)
  27.      */
  28.     private $programId;
  29.     /**
  30.      * @ORM\Column(type="integer", nullable=true)
  31.      */
  32.     private $channelId;
  33.     /**
  34.      * @ORM\Column(type="datetime")
  35.      */
  36.     private $createdAt;
  37.     public function __construct()
  38.     {
  39.         $this->createdAt = new \DateTime();
  40.     }
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45.     public function getMoodAfterPostResponseId(): ?int
  46.     {
  47.         return $this->moodAfterPostResponseId;
  48.     }
  49.     public function setMoodAfterPostResponseId(?int $moodAfterPostResponseId): self
  50.     {
  51.         $this->moodAfterPostResponseId $moodAfterPostResponseId;
  52.         return $this;
  53.     }
  54.     public function getVideoId(): ?int
  55.     {
  56.         return $this->videoId;
  57.     }
  58.     public function setVideoId(?int $videoId): self
  59.     {
  60.         $this->videoId $videoId;
  61.         return $this;
  62.     }
  63.     public function getProgramId(): ?int
  64.     {
  65.         return $this->programId;
  66.     }
  67.     public function setProgramId(?int $programId): self
  68.     {
  69.         $this->programId $programId;
  70.         return $this;
  71.     }
  72.     public function getChannelId(): ?int
  73.     {
  74.         return $this->channelId;
  75.     }
  76.     public function setChannelId(?int $channelId): self
  77.     {
  78.         $this->channelId $channelId;
  79.         return $this;
  80.     }
  81.     public function getCreatedAt(): ?\DateTimeInterface
  82.     {
  83.         return $this->createdAt;
  84.     }
  85.     public function setCreatedAt(\DateTimeInterface $createdAt): self
  86.     {
  87.         $this->createdAt $createdAt;
  88.         return $this;
  89.     }
  90. }