src/Flexy/Apps/TransportBundle/Entity/RequestMission.php line 12
<?php
namespace App\Flexy\Apps\TransportBundle\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\Flexy\TransportBundle\Entity\RequestMissionRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RequestMissionRepository::class)]
#[ApiResource]
class RequestMission
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $fullName = null;
#[ORM\Column(length: 255)]
private ?string $phone = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $companyName = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $address = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $indicationAddress = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $message = null;
public function getId(): ?int
{
return $this->id;
}
public function getFullName(): ?string
{
return $this->fullName;
}
public function setFullName(string $fullName): self
{
$this->fullName = $fullName;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(string $phone): self
{
$this->phone = $phone;
return $this;
}
public function getCompanyName(): ?string
{
return $this->companyName;
}
public function setCompanyName(?string $companyName): self
{
$this->companyName = $companyName;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getAddress(): ?string
{
return $this->address;
}
public function setAddress(?string $address): self
{
$this->address = $address;
return $this;
}
public function getIndicationAddress(): ?string
{
return $this->indicationAddress;
}
public function setIndicationAddress(?string $indicationAddress): self
{
$this->indicationAddress = $indicationAddress;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): self
{
$this->message = $message;
return $this;
}
}