<?php
namespace App\Model;
class ContactDTO
{
/**
* @var string|null
*/
private $firstname;
/**
* @var string|null
*/
private $lastname;
/**
* @var string|null
*/
private $email;
/**
* @var string|null
*/
private $phone;
/**
* @var string|null
*/
private $message;
/**
* @var bool|null
*/
private $sign;
/**
* @return string|null
*/
public function getFirstname(): ?string
{
return $this->firstname;
}
/**
* @param string|null $firstname
* @return ContactDTO
*/
public function setFirstname(?string $firstname): ContactDTO
{
$this->firstname = $firstname;
return $this;
}
/**
* @return string|null
*/
public function getLastname(): ?string
{
return $this->lastname;
}
/**
* @param string|null $lastname
* @return ContactDTO
*/
public function setLastname(?string $lastname): ContactDTO
{
$this->lastname = $lastname;
return $this;
}
/**
* @return string|null
*/
public function getEmail(): ?string
{
return $this->email;
}
/**
* @param string|null $email
* @return ContactDTO
*/
public function setEmail(?string $email): ContactDTO
{
$this->email = $email;
return $this;
}
/**
* @return string|null
*/
public function getPhone(): ?string
{
return $this->phone;
}
/**
* @param string|null $phone
* @return ContactDTO
*/
public function setPhone(?string $phone): ContactDTO
{
$this->phone = $phone;
return $this;
}
/**
* @return string|null
*/
public function getMessage(): ?string
{
return $this->message;
}
/**
* @param string|null $message
* @return ContactDTO
*/
public function setMessage(?string $message): ContactDTO
{
$this->message = $message;
return $this;
}
/**
* @return bool|null
*/
public function getSign(): ?bool
{
return $this->sign;
}
/**
* @param bool|null $sign
* @return ContactDTO
*/
public function setSign(?bool $sign): ContactDTO
{
$this->sign = $sign;
return $this;
}
}