src/Flexy/Apps/TransportBundle/Entity/RequestMission.php line 12

  1. <?php
  2. namespace App\Flexy\Apps\TransportBundle\Entity;
  3. use ApiPlatform\Metadata\ApiResource;
  4. use App\Repository\Flexy\TransportBundle\Entity\RequestMissionRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassRequestMissionRepository::class)]
  8. #[ApiResource]
  9. class RequestMission
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $fullName null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $phone null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $companyName null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $email null;
  23.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  24.     private ?string $address null;
  25.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  26.     private ?string $indicationAddress null;
  27.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  28.     private ?string $message null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getFullName(): ?string
  34.     {
  35.         return $this->fullName;
  36.     }
  37.     public function setFullName(string $fullName): self
  38.     {
  39.         $this->fullName $fullName;
  40.         return $this;
  41.     }
  42.     public function getPhone(): ?string
  43.     {
  44.         return $this->phone;
  45.     }
  46.     public function setPhone(string $phone): self
  47.     {
  48.         $this->phone $phone;
  49.         return $this;
  50.     }
  51.     public function getCompanyName(): ?string
  52.     {
  53.         return $this->companyName;
  54.     }
  55.     public function setCompanyName(?string $companyName): self
  56.     {
  57.         $this->companyName $companyName;
  58.         return $this;
  59.     }
  60.     public function getEmail(): ?string
  61.     {
  62.         return $this->email;
  63.     }
  64.     public function setEmail(string $email): self
  65.     {
  66.         $this->email $email;
  67.         return $this;
  68.     }
  69.     public function getAddress(): ?string
  70.     {
  71.         return $this->address;
  72.     }
  73.     public function setAddress(?string $address): self
  74.     {
  75.         $this->address $address;
  76.         return $this;
  77.     }
  78.     public function getIndicationAddress(): ?string
  79.     {
  80.         return $this->indicationAddress;
  81.     }
  82.     public function setIndicationAddress(?string $indicationAddress): self
  83.     {
  84.         $this->indicationAddress $indicationAddress;
  85.         return $this;
  86.     }
  87.     public function getMessage(): ?string
  88.     {
  89.         return $this->message;
  90.     }
  91.     public function setMessage(?string $message): self
  92.     {
  93.         $this->message $message;
  94.         return $this;
  95.     }
  96. }