src/Entity/CRM/ImplementerOrderData.php line 10

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Entity\CRM\Order;
  4. use App\Repository\ImplementerOrderDataRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassImplementerOrderDataRepository::class)]
  7. class ImplementerOrderData
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\OneToOne(inversedBy'implementerOrderData'cascade: ['persist''remove'])]
  14.     #[ORM\JoinColumn(nullablefalse)]
  15.     private ?Order $orderId null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $email null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $company null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $name null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $street null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $city null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $zipcode null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $phone null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $companyNumber null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $inspectorEmail null;
  34.     #[ORM\Column(length255nullabletrue)]
  35.     private ?string $inspector null;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getOrderId(): ?Order
  41.     {
  42.         return $this->orderId;
  43.     }
  44.     public function setOrderId(Order $orderId): static
  45.     {
  46.         $this->orderId $orderId;
  47.         return $this;
  48.     }
  49.     public function getEmail(): ?string
  50.     {
  51.         return $this->email;
  52.     }
  53.     public function setEmail(?string $email): static
  54.     {
  55.         $this->email $email;
  56.         return $this;
  57.     }
  58.     public function getCompany(): ?string
  59.     {
  60.         return $this->company;
  61.     }
  62.     public function setCompany(?string $company): static
  63.     {
  64.         $this->company $company;
  65.         return $this;
  66.     }
  67.     public function getName(): ?string
  68.     {
  69.         return $this->name;
  70.     }
  71.     public function setName(?string $name): static
  72.     {
  73.         $this->name $name;
  74.         return $this;
  75.     }
  76.     public function getStreet(): ?string
  77.     {
  78.         return $this->street;
  79.     }
  80.     public function setStreet(?string $street): static
  81.     {
  82.         $this->street $street;
  83.         return $this;
  84.     }
  85.     public function getCity(): ?string
  86.     {
  87.         return $this->city;
  88.     }
  89.     public function setCity(?string $city): static
  90.     {
  91.         $this->city $city;
  92.         return $this;
  93.     }
  94.     public function getZipcode(): ?string
  95.     {
  96.         return $this->zipcode;
  97.     }
  98.     public function setZipcode(?string $zipcode): static
  99.     {
  100.         $this->zipcode $zipcode;
  101.         return $this;
  102.     }
  103.     public function getPhone(): ?string
  104.     {
  105.         return $this->phone;
  106.     }
  107.     public function setPhone(?string $phone): static
  108.     {
  109.         $this->phone $phone;
  110.         return $this;
  111.     }
  112.     public function getCompanyNumber(): ?string
  113.     {
  114.         return $this->companyNumber;
  115.     }
  116.     public function setCompanyNumber(?string $companyNumber): static
  117.     {
  118.         $this->companyNumber $companyNumber;
  119.         return $this;
  120.     }
  121.     public function getInspectorEmail(): ?string
  122.     {
  123.         return $this->inspectorEmail;
  124.     }
  125.     public function setInspectorEmail(?string $inspectorEmail): static
  126.     {
  127.         $this->inspectorEmail $inspectorEmail;
  128.         return $this;
  129.     }
  130.     public function getInspector(): ?string
  131.     {
  132.         return $this->inspector;
  133.     }
  134.     public function setInspector(?string $inspector): static
  135.     {
  136.         $this->inspector $inspector;
  137.         return $this;
  138.     }
  139. }