src/Entity/CustomerContact.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CustomerContactRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CustomerContactRepository::class)
  7.  */
  8. class CustomerContact
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(name="idCustomerContact", type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $idContactType;
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $idCustomer;
  24.     /**
  25.      * @ORM\Column(type="string", length=45, nullable=true)
  26.      */
  27.     private $phone;
  28.     /**
  29.      * @ORM\Column(type="string", length=45, nullable=true)
  30.      */
  31.     private $email;
  32.     /**
  33.      * @ORM\Column(type="string", length=45, nullable=true)
  34.      */
  35.     private $lastName;
  36.     /**
  37.      * @ORM\Column(type="string", length=45, nullable=true)
  38.      */
  39.     private $firstName;
  40.     public function getId(): ?int
  41.     {
  42.         return $this->id;
  43.     }
  44.     public function getIdContactType(): ?int
  45.     {
  46.         return $this->idContactType;
  47.     }
  48.     public function setIdContactType(int $idContactType): self
  49.     {
  50.         $this->idContactType $idContactType;
  51.         return $this;
  52.     }
  53.     public function getIdCustomer(): ?int
  54.     {
  55.         return $this->idCustomer;
  56.     }
  57.     public function setIdCustomer(int $idCustomer): self
  58.     {
  59.         $this->idCustomer $idCustomer;
  60.         return $this;
  61.     }
  62.     public function getPhone(): ?string
  63.     {
  64.         return $this->phone;
  65.     }
  66.     public function setPhone(?string $phone): self
  67.     {
  68.         $this->phone $phone;
  69.         return $this;
  70.     }
  71.     public function getEmail(): ?string
  72.     {
  73.         return $this->email;
  74.     }
  75.     public function setEmail(?string $email): self
  76.     {
  77.         $this->email $email;
  78.         return $this;
  79.     }
  80.     public function getLastName(): ?string
  81.     {
  82.         return $this->lastName;
  83.     }
  84.     public function setLastName(?string $lastName): self
  85.     {
  86.         $this->lastName $lastName;
  87.         return $this;
  88.     }
  89.     public function getFirstName(): ?string
  90.     {
  91.         return $this->firstName;
  92.     }
  93.     public function setFirstName(?string $firstName): self
  94.     {
  95.         $this->firstName $firstName;
  96.         return $this;
  97.     }
  98. }