<?php
namespace App\Entity;
use App\Repository\DocumentsTypesRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=DocumentsTypesRepository::class)
*/
class DocumentsTypes {
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $shortName;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $name;
public function getId(): ?int {
return $this->id;
}
public function getShortName(): ?string {
return $this->shortName;
}
public function setShortName(?string $shortName): self {
$this->shortName = $shortName;
return $this;
}
public function getName(): ?string {
return $this->name;
}
public function setName(?string $name): self {
$this->name = $name;
return $this;
}
public function __toString() {
return $this->getName();
}
}