src/Entity/Sb/Client.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Sb;
  3. use App\Repository\Sb\ClientRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Table(name="client")
  7.  * @ORM\Entity(repositoryClass=ClientRepository::class)
  8.  */
  9. class Client
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(name="ID_CL", type="integer")
  15.      */
  16.     private $idCl;
  17.     /**
  18.      * @ORM\Column(name="ID_ORD", type="integer")
  19.      */
  20.     private $idOrd;
  21.     /**
  22.      * @ORM\Column(name="imie", type="string", length=50)
  23.      */
  24.     private $firstName;
  25.     /**
  26.      * @ORM\Column(name="nazwisko", type="string", length=50)
  27.      */
  28.     private $lastName;
  29.     /**
  30.      * @ORM\Column(name="email", type="string", length=50)
  31.      */
  32.     private $email;
  33.     /**
  34.      * @ORM\Column(name="adres", type="string", length=150)
  35.      */
  36.     private $street;
  37.     /**
  38.      * @ORM\Column(name="miasto", type="string", length=30)
  39.      */
  40.     private $city;
  41.     /**
  42.      * @ORM\Column(name="kod", type="string", length=9)
  43.      */
  44.     private $zip;
  45.     /**
  46.      * @ORM\Column(name="telkom", type="string", length=30)
  47.      */
  48.     private $telephone;
  49.     public function getIdCl(): ?int
  50.     {
  51.         return $this->idCl;
  52.     }
  53.     public function getIdOrd(): ?Orders
  54.     {
  55.         return $this->idOrd;
  56.     }
  57.     public function getFirstName(): ?string
  58.     {
  59.         return $this->firstName;
  60.     }
  61.     public function getLastName(): ?string
  62.     {
  63.         return $this->lastName;
  64.     }
  65.     public function getEmail(): ?string
  66.     {
  67.         return $this->email;
  68.     }
  69.     public function getStreet(): ?string
  70.     {
  71.         return $this->street;
  72.     }
  73.     public function getCity(): ?string
  74.     {
  75.         return $this->city;
  76.     }
  77.     public function getZip(): ?string
  78.     {
  79.         return $this->zip;
  80.     }
  81.     public function getTelephone(): ?string
  82.     {
  83.         return $this->telephone;
  84.     }
  85. }