src/Entity/Customer/Customer.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Customer;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sylius\Component\Core\Model\Customer as BaseCustomer;
  6. /**
  7.  * @ORM\Entity
  8.  * @ORM\Table(name="sylius_customer")
  9.  */
  10. class Customer extends BaseCustomer implements CustomerInterface
  11. {
  12.     /**
  13.      * @ORM\Column(name="birth_number", type="string", nullable=true)
  14.      */
  15.     private $birthNumber;
  16.     /**
  17.      * @ORM\Column(name="iban", type="string", nullable=true)
  18.      */
  19.     private $iban;
  20.     private $recaptcha;
  21.     public function getBirthNumber(): ?string
  22.     {
  23.         return $this->birthNumber;
  24.     }
  25.     public function setBirthNumber(?string $birthNumber): void
  26.     {
  27.         $this->birthNumber $birthNumber;
  28.     }
  29.     public function getIban(): ?string
  30.     {
  31.         return $this->iban;
  32.     }
  33.     public function setIban(?string $iban): void
  34.     {
  35.         $this->iban $iban;
  36.     }
  37.     public function getRecaptcha(): ?string
  38.     {
  39.         return $this->recaptcha;
  40.     }
  41.     public function setRecaptcha(?string $recaptcha): void
  42.     {
  43.         $this->recaptcha $recaptcha;
  44.     }
  45. }