src/Entity/Common/UploadedData.php line 14
<?php
/**
* Created by PhpStorm.
* User: Михаил
* Date: 07.05.2018
* Time: 15:11
*/
namespace App\Entity\Common;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Embeddable]
class UploadedData
{
#[ORM\Column(name: 'name', nullable: true)]
protected $name;
#[ORM\Column(name: 'original_name', nullable: true)]
protected $originalName;
#[ORM\Column(name: 'mime_type', nullable: true)]
protected $mimeType;
#[ORM\Column(name: 'dimensions', type: 'json', nullable: true)]
protected $dimensions;
#[ORM\Column(name: 'size', type: 'bigint', nullable: true)]
protected $size;
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): void
{
$this->name = $name;
}
public function getOriginalName(): ?string
{
return $this->originalName;
}
public function setOriginalName(?string $originalName): void
{
$this->originalName = $originalName;
}
public function getMimeType(): ?string
{
return $this->mimeType;
}
public function setMimeType(?string $mimeType): void
{
$this->mimeType = $mimeType;
}
public function getSize(): ?int
{
return $this->size;
}
public function setSize(?int $size): void
{
$this->size = $size;
}
public function getDimensions(): ?array
{
return $this->dimensions;
}
public function setDimensions(?array $dimensions): void
{
$this->dimensions = $dimensions;
}
}