<?php
namespace App\Entity\Vetoadom;
use Doctrine\ORM\Mapping as ORM;
/**
* DocumentType
*
* @ORM\Table(name="document_type")
* @ORM\Entity(repositoryClass="App\Repository\Vetoadom\DocumentTypeRepository")
*/
class DocumentType
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nom", type="string", length=100, nullable=false)
*/
private $nom;
/**
* @var string
*
* @ORM\Column(name="type", type="string", length=50, nullable=false)
*/
private $type;
/**
* @var array|null
*
* @ORM\Column(name="extensions", type="simple_array", length=0, nullable=true)
*/
private $extensions;
/**
* @var array|null
*
* @ORM\Column(name="mime", type="simple_array", length=0, nullable=true)
*/
private $mime;
/**
* @var int
*
* @ORM\Column(name="size", type="integer", nullable=false)
*/
private $size = '0';
/**
* @var int|null
*
* @ORM\Column(name="width", type="integer", nullable=true)
*/
private $width;
/**
* @var int|null
*
* @ORM\Column(name="height", type="integer", nullable=true)
*/
private $height;
/**
* @var bool
*
* @ORM\Column(name="multiple", type="boolean", nullable=false)
*/
private $multiple = '0';
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
public function getExtensions(): ?array
{
return $this->extensions;
}
public function setExtensions(?array $extensions): self
{
$this->extensions = $extensions;
return $this;
}
public function getMime(): ?array
{
return $this->mime;
}
public function setMime(?array $mime): self
{
$this->mime = $mime;
return $this;
}
public function getSize(): ?int
{
return $this->size;
}
public function setSize(int $size): self
{
$this->size = $size;
return $this;
}
public function getWidth(): ?int
{
return $this->width;
}
public function setWidth(?int $width): self
{
$this->width = $width;
return $this;
}
public function getHeight(): ?int
{
return $this->height;
}
public function setHeight(?int $height): self
{
$this->height = $height;
return $this;
}
public function getMultiple(): ?bool
{
return $this->multiple;
}
public function setMultiple(bool $multiple): self
{
$this->multiple = $multiple;
return $this;
}
}