<?phpnamespace App\Entity;use ApiPlatform\Core\Annotation\ApiResource;use App\Repository\MoodAfterPostResponseVideoProgramChannelRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=MoodAfterPostResponseVideoProgramChannelRepository::class) */class MoodAfterPostResponseVideoProgramChannel{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="integer") */ private $moodAfterPostResponseId; /** * @ORM\Column(type="integer", nullable=true) */ private $videoId; /** * @ORM\Column(type="integer", nullable=true) */ private $programId; /** * @ORM\Column(type="integer", nullable=true) */ private $channelId; /** * @ORM\Column(type="datetime") */ private $createdAt; public function __construct() { $this->createdAt = new \DateTime(); } public function getId(): ?int { return $this->id; } public function getMoodAfterPostResponseId(): ?int { return $this->moodAfterPostResponseId; } public function setMoodAfterPostResponseId(?int $moodAfterPostResponseId): self { $this->moodAfterPostResponseId = $moodAfterPostResponseId; return $this; } public function getVideoId(): ?int { return $this->videoId; } public function setVideoId(?int $videoId): self { $this->videoId = $videoId; return $this; } public function getProgramId(): ?int { return $this->programId; } public function setProgramId(?int $programId): self { $this->programId = $programId; return $this; } public function getChannelId(): ?int { return $this->channelId; } public function setChannelId(?int $channelId): self { $this->channelId = $channelId; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; }}