Deprecated: Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256

Deprecated: Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261

Deprecated: Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268

Deprecated: Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278

Deprecated: Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22

Deprecated: Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38

Deprecated: Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30

Deprecated: Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43

Deprecated: Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14

Deprecated: Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler

src/Entity/TenderSubmissions.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TenderSubmissionsRepository;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8.  * @ORM\Table(name="tender_submissions")
  9.  * @ORM\Entity(repositoryClass=TenderSubmissionsRepository::class)
  10.  */
  11. class TenderSubmissions
  12. {
  13.  
  14.     /**
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $tenderId;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $province;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $companyName;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $contactName;
  36.     /**
  37.      * @ORM\Column(type="string", length=255)
  38.      */
  39.     private $email;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $telephone;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $zip;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $created;
  52.     private $customer;
  53.  
  54.     public function getId(): ?int
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getTenderId(): ?int
  59.     {
  60.         return $this->tenderId;
  61.     }
  62.     public function setTenderId(int $tenderId): self
  63.     {
  64.         $this->tenderId $tenderId;
  65.         return $this;
  66.     }
  67.     public function getProvince(): ?string
  68.     {
  69.         return $this->province;
  70.     }
  71.     public function setProvince(?string $province): self
  72.     {
  73.         $this->province $province;
  74.         return $this;
  75.     }
  76.     public function getCompanyName(): ?string
  77.     {
  78.         return $this->companyName;
  79.     }
  80.     public function setCompanyName(string $companyName): self
  81.     {
  82.         $this->companyName $companyName;
  83.         return $this;
  84.     }
  85.     public function getContactName(): ?string
  86.     {
  87.         return $this->contactName;
  88.     }
  89.     public function setContactName(string $contactName): self
  90.     {
  91.         $this->contactName $contactName;
  92.         return $this;
  93.     }
  94.  
  95.     public function getEmail(): ?string
  96.     {
  97.         return $this->email;
  98.     }
  99.     public function setEmail(string $email): self
  100.     {
  101.         $this->email $email;
  102.         return $this;
  103.     }
  104.     public function getTelephone(): ?string
  105.     {
  106.         return $this->telephone;
  107.     }
  108.     public function setTelephone(?string $telephone): self
  109.     {
  110.         $this->telephone $telephone;
  111.         return $this;
  112.     }
  113.     public function getZip(): ?string
  114.     {
  115.         return $this->zip;
  116.     }
  117.     public function setZip(?string $zip): self
  118.     {
  119.         $this->zip $zip;
  120.         return $this;
  121.     }
  122.     public function getCreated(): ?string
  123.     {
  124.         return $this->created;
  125.     }
  126.     public function setCreated(?string $created): self
  127.     {
  128.         $this->created $created;
  129.         return $this;
  130.     }
  131.     public function __toString()
  132.     {
  133.         return (string)$this->companyName;
  134.     }
  135.    public function getExportData()
  136.    {
  137.        return \array_merge([
  138.            $this->tenderId,
  139.            $this->companyName,
  140.            $this->contactName,
  141.            $this->email,
  142.            $this->telephone,
  143.             $this->created,
  144.        ]);
  145.    }
  146. }