<?php
namespace App\Entity;
use App\Repository\MediaRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=MediaRepository::class)
*/
class Media
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idMedia",type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $type;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $name;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $mineType;
public function getId(): ?int
{
return $this->id;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->name = $name;
return $this;
}
public function getMineType(): ?string
{
return $this->mineType;
}
public function setMineType(?string $mineType): self
{
$this->mineType = $mineType;
return $this;
}
}