src/Core/Domain/Model/Insales/Embed/Options.php line 8

  1. <?php
  2.     
  3.     namespace App\Core\Domain\Model\Insales\Embed;
  4.     
  5.     use Doctrine\ORM\Mapping as ORM;
  6.     #[ORM\Embeddable]
  7.     class Options
  8.     {
  9.         
  10.         #[ORM\Column(type'bigint'nullabletrueoptions: ['unsigned' => true'default' => null])]
  11.         private ?int $addressBookId null;
  12.         
  13.         #[ORM\Column(type'string'length255nullabletrue)]
  14.         private ?string $addressBookTitle null;
  15.     
  16.         /**
  17.          * @return int|null
  18.          */
  19.         public function getAddressBookId(): ?int
  20.         {
  21.             return $this->addressBookId;
  22.         }
  23.     
  24.         /**
  25.          * @param int|null $addressBookId
  26.          * @return Options
  27.          */
  28.         public function setAddressBookId(?int $addressBookId): Options
  29.         {
  30.             $this->addressBookId $addressBookId;
  31.             return $this;
  32.         }
  33.     
  34.         /**
  35.          * @return string|null
  36.          */
  37.         public function getAddressBookTitle(): ?string
  38.         {
  39.             return $this->addressBookTitle;
  40.         }
  41.     
  42.         /**
  43.          * @param string|null $addressBookTitle
  44.          * @return Options
  45.          */
  46.         public function setAddressBookTitle(?string $addressBookTitle): Options
  47.         {
  48.             $this->addressBookTitle $addressBookTitle;
  49.             return $this;
  50.         }
  51.     }