src/Entity/Clinics.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ClinicsRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassClinicsRepository::class)]
  8. class Clinics
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column(type'integer')]
  13.     private $id;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $clinicName;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $telephone;
  18.     #[ORM\Column(type'string'length255)]
  19.     private $email;
  20.     #[ORM\Column(type'datetime')]
  21.     private $modified;
  22.     #[ORM\Column(type'datetime')]
  23.     private $created;
  24.     #[ORM\OneToMany(targetEntityAddresses::class, mappedBy'clinic')]
  25.     private $addresses;
  26.     #[ORM\OneToMany(targetEntityBaskets::class, mappedBy'clinic')]
  27.     private $baskets;
  28.     #[ORM\OneToMany(targetEntityClinicCommunicationMethods::class, mappedBy'clinic')]
  29.     private $clinicCommunicationMethods;
  30.     #[ORM\OneToMany(targetEntityClinicUsers::class, mappedBy'clinic'cascade: ['persist'])]
  31.     private $clinicUsers;
  32.     #[ORM\OneToMany(targetEntityDistributorClinicPrices::class, mappedBy'clinic')]
  33.     private $distributorClinicPrices;
  34.     #[ORM\OneToMany(targetEntityOrders::class, mappedBy'clinic')]
  35.     private $orders;
  36.     #[ORM\OneToMany(targetEntityEventLog::class, mappedBy'clinic')]
  37.     private $eventLogs;
  38.     #[ORM\OneToMany(targetEntityLists::class, mappedBy'clinic')]
  39.     private $lists;
  40.     #[ORM\OneToMany(targetEntityProductNotes::class, mappedBy'clinic')]
  41.     private $productNotes;
  42.     #[ORM\OneToMany(targetEntityAvailabilityTracker::class, mappedBy'clinic')]
  43.     private $availabilityTrackers;
  44.     #[ORM\OneToMany(targetEntityClinicProducts::class, mappedBy'clinic')]
  45.     private $clinicProducts;
  46.     #[ORM\OneToMany(targetEntityProductReviewComments::class, mappedBy'clinic')]
  47.     private $productReviewComments;
  48.     #[ORM\OneToMany(targetEntityNotifications::class, mappedBy'clinic')]
  49.     private $notifications;
  50.     #[ORM\OneToMany(targetEntityProductFavourites::class, mappedBy'clinic')]
  51.     private $productFavourites;
  52.     #[ORM\OneToMany(targetEntityChatParticipants::class, mappedBy'clinic')]
  53.     private $chatParticipants;
  54.     #[ORM\Column(type'string'length255nullabletrue)]
  55.     private $isoCode;
  56.     #[ORM\Column(type'string'length255nullabletrue)]
  57.     private $intlCode;
  58.     #[ORM\OneToMany(targetEntityClinicUserPermissions::class, mappedBy'clinic')]
  59.     private $clinicUserPermissions;
  60.     #[ORM\OneToMany(targetEntityDistributorClinics::class, mappedBy'clinic')]
  61.     private $distributorClinics;
  62.     #[ORM\ManyToOne(targetEntityCountries::class, inversedBy'clinics')]
  63.     private $country;
  64.     #[ORM\Column(type'string'length255nullabletrue)]
  65.     private $hashedEmail;
  66.     #[ORM\Column(type'string'length255nullabletrue)]
  67.     private $domainName;
  68.     #[ORM\Column(type'integer'nullabletrue)]
  69.     private $isApproved;
  70.     #[ORM\Column(type'string'length255nullabletrue)]
  71.     private $managerFirstName;
  72.     #[ORM\Column(type'string'length255nullabletrue)]
  73.     private $managerLastName;
  74.     #[ORM\Column(type'string'length255nullabletrue)]
  75.     private $tradeLicense;
  76.     #[ORM\Column(type'string'length255nullabletrue)]
  77.     private $tradeLicenseNo;
  78.     #[ORM\Column(type'date'nullabletrue)]
  79.     private $tradeLicenseExpDate;
  80.     #[ORM\Column(type'string'length255nullabletrue)]
  81.     private $managerIdNo;
  82.     #[ORM\Column(type'date'nullabletrue)]
  83.     private $managerIdExpDate;
  84.     #[ORM\OneToMany(targetEntityRetailUsers::class, mappedBy'clinic')]
  85.     private $retailUsers;
  86.     #[ORM\Column(type'string'length255nullabletrue)]
  87.     private $logo;
  88.     #[ORM\OneToMany(targetEntityClinicRetailUsers::class, mappedBy'clinic')]
  89.     private $clinicRetailUsers;
  90.     #[ORM\OneToMany(targetEntityProductRetail::class, mappedBy'clinic')]
  91.     private $productRetails;
  92.     #[ORM\Column(type'string'length255nullabletrue)]
  93.     private $PoNumberPrefix;
  94.     #[ORM\Column(type'text'nullabletrue)]
  95.     private $about;
  96.     #[ORM\Column(type'text'nullabletrue)]
  97.     private $operatingHours;
  98.     #[ORM\Column(type'text'nullabletrue)]
  99.     private $refundPolicy;
  100.     #[ORM\Column(type'text'nullabletrue)]
  101.     private $salesTaxPolicy;
  102.     #[ORM\Column(type'text'nullabletrue)]
  103.     private $shippingPolicy;
  104.     public function __construct()
  105.     {
  106.         $this->setModified(new \DateTime());
  107.         if ($this->getCreated() == null) {
  108.             $this->setCreated(new \DateTime());
  109.         }
  110.         $this->addresses = new ArrayCollection();
  111.         $this->baskets = new ArrayCollection();
  112.         $this->distributors = new ArrayCollection();
  113.         $this->clinicCommunicationMethods = new ArrayCollection();
  114.         $this->clinicUsers = new ArrayCollection();
  115.         $this->distributorClinicPrices = new ArrayCollection();
  116.         $this->orders = new ArrayCollection();
  117.         $this->eventLogs = new ArrayCollection();
  118.         $this->lists = new ArrayCollection();
  119.         $this->productNotes = new ArrayCollection();
  120.         $this->availabilityTrackers = new ArrayCollection();
  121.         $this->clinicProducts = new ArrayCollection();
  122.         $this->productReviewComments = new ArrayCollection();
  123.         $this->notifications = new ArrayCollection();
  124.         $this->productFavourites = new ArrayCollection();
  125.         $this->chatParticipants = new ArrayCollection();
  126.         $this->clinicUserPermissions = new ArrayCollection();
  127.         $this->distributorClinics = new ArrayCollection();
  128.         $this->retailUsers = new ArrayCollection();
  129.         $this->clinicRetailUsers = new ArrayCollection();
  130.         $this->productRetails = new ArrayCollection();
  131.     }
  132.     public function getId(): ?int
  133.     {
  134.         return $this->id;
  135.     }
  136.     public function getClinicName(): ?string
  137.     {
  138.         return $this->clinicName;
  139.     }
  140.     public function setClinicName(string $clinicName): self
  141.     {
  142.         $this->clinicName $clinicName;
  143.         return $this;
  144.     }
  145.     public function getTelephone(): ?string
  146.     {
  147.         return $this->telephone;
  148.     }
  149.     public function setTelephone(string $telephone): self
  150.     {
  151.         $this->telephone $telephone;
  152.         return $this;
  153.     }
  154.     public function getModified(): ?\DateTimeInterface
  155.     {
  156.         return $this->modified;
  157.     }
  158.     public function setModified(\DateTimeInterface $modified): self
  159.     {
  160.         $this->modified $modified;
  161.         return $this;
  162.     }
  163.     public function getCreated(): ?\DateTimeInterface
  164.     {
  165.         return $this->created;
  166.     }
  167.     public function setCreated(\DateTimeInterface $created): self
  168.     {
  169.         $this->created $created;
  170.         return $this;
  171.     }
  172.     /**
  173.      * @return Collection|Addresses[]
  174.      */
  175.     public function getAddresses(): Collection
  176.     {
  177.         return $this->addresses;
  178.     }
  179.     public function addAddress(Addresses $address): self
  180.     {
  181.         if (!$this->addresses->contains($address)) {
  182.             $this->addresses[] = $address;
  183.             $address->setClinic($this);
  184.         }
  185.         return $this;
  186.     }
  187.     public function removeAddress(Addresses $address): self
  188.     {
  189.         if ($this->addresses->removeElement($address)) {
  190.             // set the owning side to null (unless already changed)
  191.             if ($address->getClinic() === $this) {
  192.                 $address->setClinic(null);
  193.             }
  194.         }
  195.         return $this;
  196.     }
  197.     /**
  198.      * @return Collection|Baskets[]
  199.      */
  200.     public function getBaskets(): Collection
  201.     {
  202.         return $this->baskets;
  203.     }
  204.     public function addBasket(Baskets $basket): self
  205.     {
  206.         if (!$this->baskets->contains($basket)) {
  207.             $this->baskets[] = $basket;
  208.             $basket->setClinic($this);
  209.         }
  210.         return $this;
  211.     }
  212.     public function removeBasket(Baskets $basket): self
  213.     {
  214.         if ($this->baskets->removeElement($basket)) {
  215.             // set the owning side to null (unless already changed)
  216.             if ($basket->getClinic() === $this) {
  217.                 $basket->setClinic(null);
  218.             }
  219.         }
  220.         return $this;
  221.     }
  222.     /**
  223.      * @return Collection|ClinicCommunicationMethods[]
  224.      */
  225.     public function getClinicCommunicationMethods(): Collection
  226.     {
  227.         return $this->clinicCommunicationMethods;
  228.     }
  229.     public function addClinicCommunicationMethod(ClinicCommunicationMethods $clinicCommunicationMethod): self
  230.     {
  231.         if (!$this->clinicCommunicationMethods->contains($clinicCommunicationMethod)) {
  232.             $this->clinicCommunicationMethods[] = $clinicCommunicationMethod;
  233.             $clinicCommunicationMethod->setClinic($this);
  234.         }
  235.         return $this;
  236.     }
  237.     public function removeClinicCommunicationMethod(ClinicCommunicationMethods $clinicCommunicationMethod): self
  238.     {
  239.         if ($this->clinicCommunicationMethods->removeElement($clinicCommunicationMethod)) {
  240.             // set the owning side to null (unless already changed)
  241.             if ($clinicCommunicationMethod->getClinic() === $this) {
  242.                 $clinicCommunicationMethod->setClinic(null);
  243.             }
  244.         }
  245.         return $this;
  246.     }
  247.     /**
  248.      * @return Collection|ClinicUsers[]
  249.      */
  250.     public function getClinicUsers(): Collection
  251.     {
  252.         return $this->clinicUsers;
  253.     }
  254.     public function addClinicUser(ClinicUsers $clinicUser): self
  255.     {
  256.         if (!$this->clinicUsers->contains($clinicUser)) {
  257.             $this->clinicUsers[] = $clinicUser;
  258.             $clinicUser->setClinic($this);
  259.         }
  260.         return $this;
  261.     }
  262.     public function removeClinicUser(ClinicUsers $clinicUser): self
  263.     {
  264.         if ($this->clinicUsers->removeElement($clinicUser)) {
  265.             // set the owning side to null (unless already changed)
  266.             if ($clinicUser->getClinic() === $this) {
  267.                 $clinicUser->setClinic(null);
  268.             }
  269.         }
  270.         return $this;
  271.     }
  272.     /**
  273.      * @return Collection|DistributorClinicPrices[]
  274.      */
  275.     public function getDistributorClinicPrices(): Collection
  276.     {
  277.         return $this->distributorClinicPrices;
  278.     }
  279.     public function addDistributorClinicPrice(DistributorClinicPrices $distributorClinicPrice): self
  280.     {
  281.         if (!$this->distributorClinicPrices->contains($distributorClinicPrice)) {
  282.             $this->distributorClinicPrices[] = $distributorClinicPrice;
  283.             $distributorClinicPrice->setClinic($this);
  284.         }
  285.         return $this;
  286.     }
  287.     public function removeDistributorClinicPrice(DistributorClinicPrices $distributorClinicPrice): self
  288.     {
  289.         if ($this->distributorClinicPrices->removeElement($distributorClinicPrice)) {
  290.             // set the owning side to null (unless already changed)
  291.             if ($distributorClinicPrice->getClinic() === $this) {
  292.                 $distributorClinicPrice->setClinic(null);
  293.             }
  294.         }
  295.         return $this;
  296.     }
  297.     /**
  298.      * @return Collection|Orders[]
  299.      */
  300.     public function getOrders(): Collection
  301.     {
  302.         return $this->orders;
  303.     }
  304.     public function addOrder(Orders $order): self
  305.     {
  306.         if (!$this->orders->contains($order)) {
  307.             $this->orders[] = $order;
  308.             $order->setClinic($this);
  309.         }
  310.         return $this;
  311.     }
  312.     public function removeOrder(Orders $order): self
  313.     {
  314.         if ($this->orders->removeElement($order)) {
  315.             // set the owning side to null (unless already changed)
  316.             if ($order->getClinic() === $this) {
  317.                 $order->setClinic(null);
  318.             }
  319.         }
  320.         return $this;
  321.     }
  322.     /**
  323.      * @return Collection|EventLog[]
  324.      */
  325.     public function getEventLogs(): Collection
  326.     {
  327.         return $this->eventLogs;
  328.     }
  329.     public function addEventLog(EventLog $eventLog): self
  330.     {
  331.         if (!$this->eventLogs->contains($eventLog)) {
  332.             $this->eventLogs[] = $eventLog;
  333.             $eventLog->setClinic($this);
  334.         }
  335.         return $this;
  336.     }
  337.     public function removeEventLog(EventLog $eventLog): self
  338.     {
  339.         if ($this->eventLogs->removeElement($eventLog)) {
  340.             // set the owning side to null (unless already changed)
  341.             if ($eventLog->getClinic() === $this) {
  342.                 $eventLog->setClinic(null);
  343.             }
  344.         }
  345.         return $this;
  346.     }
  347.     /**
  348.      * @return Collection|Lists[]
  349.      */
  350.     public function getLists(): Collection
  351.     {
  352.         return $this->lists;
  353.     }
  354.     public function addList(Lists $list): self
  355.     {
  356.         if (!$this->lists->contains($list)) {
  357.             $this->lists[] = $list;
  358.             $list->setClinic($this);
  359.         }
  360.         return $this;
  361.     }
  362.     public function removeList(Lists $list): self
  363.     {
  364.         if ($this->lists->removeElement($list)) {
  365.             // set the owning side to null (unless already changed)
  366.             if ($list->getClinic() === $this) {
  367.                 $list->setClinic(null);
  368.             }
  369.         }
  370.         return $this;
  371.     }
  372.     /**
  373.      * @return Collection|ProductNotes[]
  374.      */
  375.     public function getProductNotes(): Collection
  376.     {
  377.         return $this->productNotes;
  378.     }
  379.     public function addProductNote(ProductNotes $productNote): self
  380.     {
  381.         if (!$this->productNotes->contains($productNote)) {
  382.             $this->productNotes[] = $productNote;
  383.             $productNote->setClinic($this);
  384.         }
  385.         return $this;
  386.     }
  387.     public function removeProductNote(ProductNotes $productNote): self
  388.     {
  389.         if ($this->productNotes->removeElement($productNote)) {
  390.             // set the owning side to null (unless already changed)
  391.             if ($productNote->getClinic() === $this) {
  392.                 $productNote->setClinic(null);
  393.             }
  394.         }
  395.         return $this;
  396.     }
  397.     /**
  398.      * @return Collection|AvailabilityTracker[]
  399.      */
  400.     public function getAvailabilityTrackers(): Collection
  401.     {
  402.         return $this->availabilityTrackers;
  403.     }
  404.     public function addAvailabilityTracker(AvailabilityTracker $availabilityTracker): self
  405.     {
  406.         if (!$this->availabilityTrackers->contains($availabilityTracker)) {
  407.             $this->availabilityTrackers[] = $availabilityTracker;
  408.             $availabilityTracker->setClinic($this);
  409.         }
  410.         return $this;
  411.     }
  412.     public function removeAvailabilityTracker(AvailabilityTracker $availabilityTracker): self
  413.     {
  414.         if ($this->availabilityTrackers->removeElement($availabilityTracker)) {
  415.             // set the owning side to null (unless already changed)
  416.             if ($availabilityTracker->getClinic() === $this) {
  417.                 $availabilityTracker->setClinic(null);
  418.             }
  419.         }
  420.         return $this;
  421.     }
  422.     public function getEmail(): ?string
  423.     {
  424.         return $this->email;
  425.     }
  426.     public function setEmail(string $email): self
  427.     {
  428.         $this->email $email;
  429.         return $this;
  430.     }
  431.     /**
  432.      * @return Collection<int, ClinicProducts>
  433.      */
  434.     public function getClinicProducts(): Collection
  435.     {
  436.         return $this->clinicProducts;
  437.     }
  438.     public function addClinicProduct(ClinicProducts $clinicProduct): self
  439.     {
  440.         if (!$this->clinicProducts->contains($clinicProduct)) {
  441.             $this->clinicProducts[] = $clinicProduct;
  442.             $clinicProduct->setClinic($this);
  443.         }
  444.         return $this;
  445.     }
  446.     public function removeClinicProduct(ClinicProducts $clinicProduct): self
  447.     {
  448.         if ($this->clinicProducts->removeElement($clinicProduct)) {
  449.             // set the owning side to null (unless already changed)
  450.             if ($clinicProduct->getClinic() === $this) {
  451.                 $clinicProduct->setClinic(null);
  452.             }
  453.         }
  454.         return $this;
  455.     }
  456.     /**
  457.      * @return Collection<int, ProductReviewComments>
  458.      */
  459.     public function getProductReviewComments(): Collection
  460.     {
  461.         return $this->productReviewComments;
  462.     }
  463.     public function addProductReviewComment(ProductReviewComments $productReviewComment): self
  464.     {
  465.         if (!$this->productReviewComments->contains($productReviewComment)) {
  466.             $this->productReviewComments[] = $productReviewComment;
  467.             $productReviewComment->setClinic($this);
  468.         }
  469.         return $this;
  470.     }
  471.     public function removeProductReviewComment(ProductReviewComments $productReviewComment): self
  472.     {
  473.         if ($this->productReviewComments->removeElement($productReviewComment)) {
  474.             // set the owning side to null (unless already changed)
  475.             if ($productReviewComment->getClinic() === $this) {
  476.                 $productReviewComment->setClinic(null);
  477.             }
  478.         }
  479.         return $this;
  480.     }
  481.     /**
  482.      * @return Collection<int, Notifications>
  483.      */
  484.     public function getNotifications(): Collection
  485.     {
  486.         return $this->notifications;
  487.     }
  488.     public function addNotification(Notifications $notification): self
  489.     {
  490.         if (!$this->notifications->contains($notification)) {
  491.             $this->notifications[] = $notification;
  492.             $notification->setClinic($this);
  493.         }
  494.         return $this;
  495.     }
  496.     public function removeNotification(Notifications $notification): self
  497.     {
  498.         if ($this->notifications->removeElement($notification)) {
  499.             // set the owning side to null (unless already changed)
  500.             if ($notification->getClinic() === $this) {
  501.                 $notification->setClinic(null);
  502.             }
  503.         }
  504.         return $this;
  505.     }
  506.     /**
  507.      * @return Collection<int, ProductFavourites>
  508.      */
  509.     public function getProductFavourites(): Collection
  510.     {
  511.         return $this->productFavourites;
  512.     }
  513.     public function addProductFavourite(ProductFavourites $productFavourite): self
  514.     {
  515.         if (!$this->productFavourites->contains($productFavourite)) {
  516.             $this->productFavourites[] = $productFavourite;
  517.             $productFavourite->setClinic($this);
  518.         }
  519.         return $this;
  520.     }
  521.     public function removeProductFavourite(ProductFavourites $productFavourite): self
  522.     {
  523.         if ($this->productFavourites->removeElement($productFavourite)) {
  524.             // set the owning side to null (unless already changed)
  525.             if ($productFavourite->getClinic() === $this) {
  526.                 $productFavourite->setClinic(null);
  527.             }
  528.         }
  529.         return $this;
  530.     }
  531.     /**
  532.      * @return Collection<int, ChatParticipants>
  533.      */
  534.     public function getChatParticipants(): Collection
  535.     {
  536.         return $this->chatParticipants;
  537.     }
  538.     public function addChatParticipant(ChatParticipants $chatParticipant): self
  539.     {
  540.         if (!$this->chatParticipants->contains($chatParticipant)) {
  541.             $this->chatParticipants[] = $chatParticipant;
  542.             $chatParticipant->setClinic($this);
  543.         }
  544.         return $this;
  545.     }
  546.     public function removeChatParticipant(ChatParticipants $chatParticipant): self
  547.     {
  548.         if ($this->chatParticipants->removeElement($chatParticipant)) {
  549.             // set the owning side to null (unless already changed)
  550.             if ($chatParticipant->getClinic() === $this) {
  551.                 $chatParticipant->setClinic(null);
  552.             }
  553.         }
  554.         return $this;
  555.     }
  556.     public function getIsoCode(): ?string
  557.     {
  558.         return $this->isoCode;
  559.     }
  560.     public function setIsoCode(?string $isoCode): self
  561.     {
  562.         $this->isoCode $isoCode;
  563.         return $this;
  564.     }
  565.     public function getIntlCode(): ?string
  566.     {
  567.         return $this->intlCode;
  568.     }
  569.     public function setIntlCode(?string $intlCode): self
  570.     {
  571.         $this->intlCode $intlCode;
  572.         return $this;
  573.     }
  574.     /**
  575.      * @return Collection<int, ClinicUserPermissions>
  576.      */
  577.     public function getClinicUserPermissions(): Collection
  578.     {
  579.         return $this->clinicUserPermissions;
  580.     }
  581.     public function addClinicUserPermission(ClinicUserPermissions $clinicUserPermission): self
  582.     {
  583.         if (!$this->clinicUserPermissions->contains($clinicUserPermission)) {
  584.             $this->clinicUserPermissions[] = $clinicUserPermission;
  585.             $clinicUserPermission->setClinic($this);
  586.         }
  587.         return $this;
  588.     }
  589.     public function removeClinicUserPermission(ClinicUserPermissions $clinicUserPermission): self
  590.     {
  591.         if ($this->clinicUserPermissions->removeElement($clinicUserPermission)) {
  592.             // set the owning side to null (unless already changed)
  593.             if ($clinicUserPermission->getClinic() === $this) {
  594.                 $clinicUserPermission->setClinic(null);
  595.             }
  596.         }
  597.         return $this;
  598.     }
  599.     /**
  600.      * @return Collection<int, DistributorClinics>
  601.      */
  602.     public function getDistributorClinics(): Collection
  603.     {
  604.         return $this->distributorClinics;
  605.     }
  606.     public function addDistributorClinic(DistributorClinics $distributorClinic): self
  607.     {
  608.         if (!$this->distributorClinics->contains($distributorClinic)) {
  609.             $this->distributorClinics[] = $distributorClinic;
  610.             $distributorClinic->setClinic($this);
  611.         }
  612.         return $this;
  613.     }
  614.     public function removeDistributorClinic(DistributorClinics $distributorClinic): self
  615.     {
  616.         if ($this->distributorClinics->removeElement($distributorClinic)) {
  617.             // set the owning side to null (unless already changed)
  618.             if ($distributorClinic->getClinic() === $this) {
  619.                 $distributorClinic->setClinic(null);
  620.             }
  621.         }
  622.         return $this;
  623.     }
  624.     public function getCountry(): ?Countries
  625.     {
  626.         return $this->country;
  627.     }
  628.     public function setCountry(?Countries $country): self
  629.     {
  630.         $this->country $country;
  631.         return $this;
  632.     }
  633.     public function getHashedEmail(): ?string
  634.     {
  635.         return $this->hashedEmail;
  636.     }
  637.     public function setHashedEmail(?string $hashedEmail): self
  638.     {
  639.         $this->hashedEmail $hashedEmail;
  640.         return $this;
  641.     }
  642.     public function getDomainName(): ?string
  643.     {
  644.         return $this->domainName;
  645.     }
  646.     public function setDomainName(?string $domainName): self
  647.     {
  648.         $this->domainName $domainName;
  649.         return $this;
  650.     }
  651.     public function getIsApproved(): ?int
  652.     {
  653.         return $this->isApproved;
  654.     }
  655.     public function setIsApproved(?int $isApproved): self
  656.     {
  657.         $this->isApproved $isApproved;
  658.         return $this;
  659.     }
  660.     public function getManagerFirstName(): ?string
  661.     {
  662.         return $this->managerFirstName;
  663.     }
  664.     public function setManagerFirstName(?string $managerFirstName): self
  665.     {
  666.         $this->managerFirstName $managerFirstName;
  667.         return $this;
  668.     }
  669.     public function getManagerLastName(): ?string
  670.     {
  671.         return $this->managerLastName;
  672.     }
  673.     public function setManagerLastName(?string $managerLastName): self
  674.     {
  675.         $this->managerLastName $managerLastName;
  676.         return $this;
  677.     }
  678.     public function getTradeLicense(): ?string
  679.     {
  680.         return $this->tradeLicense;
  681.     }
  682.     public function setTradeLicense(?string $tradeLicense): self
  683.     {
  684.         $this->tradeLicense $tradeLicense;
  685.         return $this;
  686.     }
  687.     public function getTradeLicenseNo(): ?string
  688.     {
  689.         return $this->tradeLicenseNo;
  690.     }
  691.     public function setTradeLicenseNo(?string $tradeLicenseNo): self
  692.     {
  693.         $this->tradeLicenseNo $tradeLicenseNo;
  694.         return $this;
  695.     }
  696.     public function getTradeLicenseExpDate(): ?\DateTimeInterface
  697.     {
  698.         return $this->tradeLicenseExpDate;
  699.     }
  700.     public function setTradeLicenseExpDate(?\DateTimeInterface $tradeLicenseExpDate): self
  701.     {
  702.         $this->tradeLicenseExpDate $tradeLicenseExpDate;
  703.         return $this;
  704.     }
  705.     public function getManagerIdNo(): ?string
  706.     {
  707.         return $this->managerIdNo;
  708.     }
  709.     public function setManagerIdNo(?string $managerIdNo): self
  710.     {
  711.         $this->managerIdNo $managerIdNo;
  712.         return $this;
  713.     }
  714.     public function getManagerIdExpDate(): ?\DateTimeInterface
  715.     {
  716.         return $this->managerIdExpDate;
  717.     }
  718.     public function setManagerIdExpDate(?\DateTimeInterface $managerIdExpDate): self
  719.     {
  720.         $this->managerIdExpDate $managerIdExpDate;
  721.         return $this;
  722.     }
  723.     /**
  724.      * @return Collection<int, RetailUsers>
  725.      */
  726.     public function getRetailUsers(): Collection
  727.     {
  728.         return $this->retailUsers;
  729.     }
  730.     public function addRetailUser(RetailUsers $retailUser): self
  731.     {
  732.         if (!$this->retailUsers->contains($retailUser)) {
  733.             $this->retailUsers[] = $retailUser;
  734.             $retailUser->setClinic($this);
  735.         }
  736.         return $this;
  737.     }
  738.     public function removeRetailUser(RetailUsers $retailUser): self
  739.     {
  740.         if ($this->retailUsers->removeElement($retailUser)) {
  741.             // set the owning side to null (unless already changed)
  742.             if ($retailUser->getClinic() === $this) {
  743.                 $retailUser->setClinic(null);
  744.             }
  745.         }
  746.         return $this;
  747.     }
  748.     public function getLogo(): ?string
  749.     {
  750.         return $this->logo;
  751.     }
  752.     public function setLogo(?string $logo): self
  753.     {
  754.         $this->logo $logo;
  755.         return $this;
  756.     }
  757.     /**
  758.      * @return Collection<int, ClinicRetailUsers>
  759.      */
  760.     public function getClinicRetailUsers(): Collection
  761.     {
  762.         return $this->clinicRetailUsers;
  763.     }
  764.     public function addClinicRetailUser(ClinicRetailUsers $clinicRetailUser): self
  765.     {
  766.         if (!$this->clinicRetailUsers->contains($clinicRetailUser)) {
  767.             $this->clinicRetailUsers[] = $clinicRetailUser;
  768.             $clinicRetailUser->setClinic($this);
  769.         }
  770.         return $this;
  771.     }
  772.     public function removeClinicRetailUser(ClinicRetailUsers $clinicRetailUser): self
  773.     {
  774.         if ($this->clinicRetailUsers->removeElement($clinicRetailUser)) {
  775.             // set the owning side to null (unless already changed)
  776.             if ($clinicRetailUser->getClinic() === $this) {
  777.                 $clinicRetailUser->setClinic(null);
  778.             }
  779.         }
  780.         return $this;
  781.     }
  782.     /**
  783.      * @return Collection<int, ProductRetail>
  784.      */
  785.     public function getProductRetails(): Collection
  786.     {
  787.         return $this->productRetails;
  788.     }
  789.     public function addProductRetail(ProductRetail $productRetail): self
  790.     {
  791.         if (!$this->productRetails->contains($productRetail)) {
  792.             $this->productRetails[] = $productRetail;
  793.             $productRetail->setClinic($this);
  794.         }
  795.         return $this;
  796.     }
  797.     public function removeProductRetail(ProductRetail $productRetail): self
  798.     {
  799.         if ($this->productRetails->removeElement($productRetail)) {
  800.             // set the owning side to null (unless already changed)
  801.             if ($productRetail->getClinic() === $this) {
  802.                 $productRetail->setClinic(null);
  803.             }
  804.         }
  805.         return $this;
  806.     }
  807.     public function getPoNumberPrefix(): ?string
  808.     {
  809.         return $this->PoNumberPrefix;
  810.     }
  811.     public function setPoNumberPrefix(?string $PoNumberPrefix): self
  812.     {
  813.         $this->PoNumberPrefix $PoNumberPrefix;
  814.         return $this;
  815.     }
  816.     public function getAbout(): ?string
  817.     {
  818.         return $this->about;
  819.     }
  820.     public function setAbout(?string $about): self
  821.     {
  822.         $this->about $about;
  823.         return $this;
  824.     }
  825.     public function getOperatingHours(): ?string
  826.     {
  827.         return $this->operatingHours;
  828.     }
  829.     public function setOperatingHours(?string $operatingHours): self
  830.     {
  831.         $this->operatingHours $operatingHours;
  832.         return $this;
  833.     }
  834.     public function getRefundPolicy(): ?string
  835.     {
  836.         return $this->refundPolicy;
  837.     }
  838.     public function setRefundPolicy(?string $refundPolicy): self
  839.     {
  840.         $this->refundPolicy $refundPolicy;
  841.         return $this;
  842.     }
  843.     public function getSalesTaxPolicy(): ?string
  844.     {
  845.         return $this->salesTaxPolicy;
  846.     }
  847.     public function setSalesTaxPolicy(?string $salesTaxPolicy): self
  848.     {
  849.         $this->salesTaxPolicy $salesTaxPolicy;
  850.         return $this;
  851.     }
  852.     public function getShippingPolicy(): ?string
  853.     {
  854.         return $this->shippingPolicy;
  855.     }
  856.     public function setShippingPolicy(?string $shippingPolicy): self
  857.     {
  858.         $this->shippingPolicy $shippingPolicy;
  859.         return $this;
  860.     }
  861. }