<?php 
 
declare(strict_types=1); 
 
namespace App\Entity; 
 
use DateTimeInterface; 
use App\Repository\ContactRepository; 
use DateTime; 
use Doctrine\ORM\Mapping as ORM; 
 
/** 
 * @ORM\Entity(repositoryClass=ContactRepository::class) 
 */ 
class Contact 
{ 
    /** 
     * @ORM\Id 
     * 
     * @ORM\GeneratedValue 
     * 
     * @ORM\Column(type="integer") 
     */ 
    private $id; 
 
    /** @ORM\Column(type="string", length=255) */ 
    private $name; 
 
    /** @ORM\Column(type="string", length=255) */ 
    private $lastName; 
 
    /** @ORM\Column(type="string", length=255, nullable=true) */ 
    private $company; 
 
    /** @ORM\Column(type="string", length=20) */ 
    private $phone; 
 
    /** @ORM\Column(type="string", length=255) */ 
    private $email; 
 
    /** @ORM\Column(type="text", length=1000, nullable=true) */ 
    private $adress; 
    /** @ORM\Column(type="string", length=100) */ 
    private $country; 
 
    /** @ORM\Column(type="string", length=255) */ 
    private $eventType; 
 
    /** @ORM\Column(type="datetime") */ 
    private $eventDate; 
 
    /** @ORM\Column(type="integer") */ 
    private int $peopleNumber = 0; 
 
    /** @ORM\Column(type="boolean", nullable=true) */ 
    private ?bool $bookingRoom = false; 
 
    /** @ORM\Column(type="text", nullable=true) */ 
    private $message; 
 
    public function __construct() 
    { 
        $this->eventDate = new DateTime(); 
    } 
 
    public function getId(): ?int 
    { 
        return $this->id; 
    } 
 
    public function getName(): ?string 
    { 
        return $this->name; 
    } 
 
    public function setName(string $name): self 
    { 
        $this->name = $name; 
 
        return $this; 
    } 
 
    public function getLastName(): ?string 
    { 
        return $this->lastName; 
    } 
 
    public function setLastName(string $lastName): self 
    { 
        $this->lastName = $lastName; 
 
        return $this; 
    } 
 
    public function getCompany(): ?string 
    { 
        return $this->company; 
    } 
 
    public function setCompany(?string $company): self 
    { 
        $this->company = $company; 
 
        return $this; 
    } 
 
    public function getPhone(): ?string 
    { 
        return $this->phone; 
    } 
 
    public function setPhone(string $phone): self 
    { 
        $this->phone = $phone; 
 
        return $this; 
    } 
 
    public function getEmail(): ?string 
    { 
        return $this->email; 
    } 
 
    public function setEmail(string $email): self 
    { 
        $this->email = $email; 
 
        return $this; 
    } 
 
    public function getCountry(): ?string 
    { 
        return $this->country; 
    } 
 
    public function setCountry(string $country): self 
    { 
        $this->country = $country; 
 
        return $this; 
    } 
 
    public function getEventType(): ?string 
    { 
        return $this->eventType; 
    } 
 
    public function setEventType(string $eventType): self 
    { 
        $this->eventType = $eventType; 
 
        return $this; 
    } 
 
    public function getEventDate(): ?DateTimeInterface 
    { 
        return $this->eventDate; 
    } 
 
    public function setEventDate(DateTimeInterface $eventDate): self 
    { 
        $this->eventDate = $eventDate; 
 
        return $this; 
    } 
 
    public function getPeopleNumber(): ?int 
    { 
        return $this->peopleNumber; 
    } 
 
    public function setPeopleNumber(int $peopleNumber): self 
    { 
        $this->peopleNumber = $peopleNumber; 
 
        return $this; 
    } 
 
    public function getBookingRoom(): ?bool 
    { 
        return $this->bookingRoom; 
    } 
 
    public function setBookingRoom(?bool $bookingRoom): self 
    { 
        $this->bookingRoom = $bookingRoom; 
 
        return $this; 
    } 
 
    public function getMessage(): ?string 
    { 
        return $this->message; 
    } 
 
    public function setMessage(?string $message): self 
    { 
        $this->message = $message; 
 
        return $this; 
    } 
 
    public function getAdress(): ?string 
    { 
        return $this->adress; 
    } 
 
    public function setAdress(string $adress): self 
    { 
        $this->adress = $adress; 
 
        return $this; 
    } 
}