<?php
namespace App\Entity;
use App\Repository\ContactTypeRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ContactTypeRepository::class)
*/
class ContactType
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer", name="idContactType")
*/
private $id;
/**
* @ORM\Column(type="string", length=45)
*/
private $contactType;
public function getId(): ?int
{
return $this->id;
}
public function getContactType(): ?string
{
return $this->contactType;
}
public function setContactType(string $contactType): self
{
$this->contactType = $contactType;
return $this;
}
}