<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass=MediaMetaTagRepository::class) */class MediaMetaTag{ /** * @var int * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @var Media * @ORM\ManyToOne(targetEntity=Media::class, inversedBy="mediaMetaTags") * @ORM\JoinColumn(name="media_id", referencedColumnName="id") */ private $media; /** * @var string * @ORM\Column(name="`key`",type="string", length=255) */ private $key; /** * @var string * @ORM\Column(type="text", nullable=true) */ private $value; /** * @ORM\Column(type="datetime") */ private $createdAt; /** * @ORM\Column(type="datetime") */ private $updatedAt; public function getId(): ?int { return $this->id; } /** * Get the value of updatedAt */ public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } /** * Set the value of updatedAt * * @return self */ public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; } /** * Get the value of updatedAt */ public function getUpdatedAt() { return $this->updatedAt; } /** * Set the value of updatedAt * * @return self */ public function setUpdatedAt($updatedAt) { $this->updatedAt = $updatedAt; return $this; } /** * Get the value of media * * @return Media */ public function getMedia() :Media { return $this->media; } /** * Set the value of media * * @param Media $media * * @return self */ public function setMedia(Media $media) { $this->media = $media; return $this; } /** * Get the value of key * * @return string */ public function getKey() :string { return $this->key; } /** * Set the value of key * * @param string $key * * @return self */ public function setKey(string $key) { $this->key = $key; return $this; } /** * Get the value of value * * @return string */ public function getValue() { return $this->value; } /** * Set the value of value * * @param string $value * * @return self */ public function setValue(string $value) { $this->value = $value; return $this; }}