src/Entity/InquirySupplier.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\InquirySupplierRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=InquirySupplierRepository::class)
  7.  */
  8. class InquirySupplier
  9. {
  10.     /**
  11.      * @ORM\Id()
  12.      * @ORM\GeneratedValue()
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity="App\Entity\Inquiry", inversedBy="inquirySuppliers")
  18.      * @ORM\JoinColumn(nullable=false)
  19.      */
  20.     private $inquiry;
  21.     /**
  22.      * @ORM\ManyToOne(targetEntity="App\Entity\Customer")
  23.      * @ORM\JoinColumn(nullable=false)
  24.      */
  25.     private $customer;
  26.     /**
  27.      * @ORM\ManyToOne(targetEntity="App\Entity\CustomerAddress")
  28.      */
  29.     private $customerAddress;
  30.     /**
  31.      * @ORM\Column(type="boolean", options={"default" : false})
  32.      */
  33.     private $seen false;
  34.     /**
  35.      * @ORM\Column(type="boolean", options={"default" : false})
  36.      */
  37.     private $reminderSent false;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getInquiry()
  43.     {
  44.         return $this->inquiry;
  45.     }
  46.     public function setInquiry(Inquiry $inquiry): self
  47.     {
  48.         $this->inquiry $inquiry;
  49.         return $this;
  50.     }
  51.     public function getCustomer()
  52.     {
  53.         return $this->customer;
  54.     }
  55.     public function setCustomer(Customer $customer): self
  56.     {
  57.         $this->customer $customer;
  58.         return $this;
  59.     }
  60.     public function getCustomerAddress()
  61.     {
  62.         return $this->customerAddress;
  63.     }
  64.     public function setCustomerAddress(CustomerAddress $customerAddress): self
  65.     {
  66.         $this->customerAddress $customerAddress;
  67.         return $this;
  68.     }
  69.     public function setSeen(bool $seen): void
  70.     {
  71.         $this->seen $seen;
  72.     }
  73.     public function isSeen(): bool
  74.     {
  75.         return $this->seen;
  76.     }
  77.     public function isReminderSent(): bool
  78.     {
  79.         return $this->reminderSent;
  80.     }
  81.     public function setReminderSent(bool $reminderSent): void
  82.     {
  83.         $this->reminderSent $reminderSent;
  84.     }
  85. }