src/Entity/Customer.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CustomerRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CustomerRepository::class)
  7.  */
  8. class Customer
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(name="idCustomer",type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      */
  19.     private $idCustomerProfil;
  20.     /**
  21.      * @ORM\Column(type="string", length=45, nullable=true)
  22.      */
  23.     private $role;
  24.     /**
  25.      * @ORM\Column(type="string", length=45, nullable=true)
  26.      */
  27.     private $lastName;
  28.     /**
  29.      * @ORM\Column(type="string", length=45, nullable=true)
  30.      */
  31.     private $firstName;
  32.     /**
  33.      * @ORM\Column(type="string", length=45, nullable=true)
  34.      */
  35.     private $email;
  36.     /**
  37.      * @ORM\Column(type="string", length=255)
  38.      */
  39.     private $password;
  40.     /**
  41.      * @ORM\Column(type="string", length=45, nullable=true)
  42.      */
  43.     private $company;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $address1;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $address2;
  52.     /**
  53.      * @ORM\Column(type="string", length=45, nullable=true)
  54.      */
  55.     private $postCode;
  56.     /**
  57.      * @ORM\Column(type="string", length=45, nullable=true)
  58.      */
  59.     private $city;
  60.     /**
  61.      * @ORM\Column(type="string", length=45, nullable=true)
  62.      */
  63.     private $country;
  64.     /**
  65.      * @ORM\Column(type="string", length=45, nullable=true)
  66.      */
  67.     private $phone;
  68.     public function getId(): ?int
  69.     {
  70.         return $this->id;
  71.     }
  72.     public function getIdCustomerProfil(): ?string
  73.     {
  74.         return $this->idCustomerProfil;
  75.     }
  76.     public function setIdCustomerProfil(string $idCustomerProfil): self
  77.     {
  78.         $this->idCustomerProfil $idCustomerProfil;
  79.         return $this;
  80.     }
  81.     public function getRole(): ?string
  82.     {
  83.         return $this->role;
  84.     }
  85.     public function setRole(?string $role): self
  86.     {
  87.         $this->role $role;
  88.         return $this;
  89.     }
  90.     public function getLastName(): ?string
  91.     {
  92.         return $this->lastName;
  93.     }
  94.     public function setLastName(?string $lastName): self
  95.     {
  96.         $this->lastName $lastName;
  97.         return $this;
  98.     }
  99.     public function getFirstName(): ?string
  100.     {
  101.         return $this->firstName;
  102.     }
  103.     public function setFirstName(?string $firstName): self
  104.     {
  105.         $this->firstName $firstName;
  106.         return $this;
  107.     }
  108.     public function getEmail(): ?string
  109.     {
  110.         return $this->email;
  111.     }
  112.     public function setEmail(?string $email): self
  113.     {
  114.         $this->email $email;
  115.         return $this;
  116.     }
  117.     public function getPassword(): ?string
  118.     {
  119.         return $this->password;
  120.     }
  121.     public function setPassword(string $password): self
  122.     {
  123.         $this->password $password;
  124.         return $this;
  125.     }
  126.     public function getCompany(): ?string
  127.     {
  128.         return $this->company;
  129.     }
  130.     public function setCompany(?string $company): self
  131.     {
  132.         $this->company $company;
  133.         return $this;
  134.     }
  135.     public function getAddress1(): ?string
  136.     {
  137.         return $this->address1;
  138.     }
  139.     public function setAddress1(?string $address1): self
  140.     {
  141.         $this->address1 $address1;
  142.         return $this;
  143.     }
  144.     public function getAddress2(): ?string
  145.     {
  146.         return $this->address2;
  147.     }
  148.     public function setAddress2(?string $address2): self
  149.     {
  150.         $this->address2 $address2;
  151.         return $this;
  152.     }
  153.     public function getPostCode(): ?string
  154.     {
  155.         return $this->postCode;
  156.     }
  157.     public function setPostCode(?string $postCode): self
  158.     {
  159.         $this->postCode $postCode;
  160.         return $this;
  161.     }
  162.     public function getCity(): ?string
  163.     {
  164.         return $this->city;
  165.     }
  166.     public function setCity(?string $city): self
  167.     {
  168.         $this->city $city;
  169.         return $this;
  170.     }
  171.     public function getCountry(): ?string
  172.     {
  173.         return $this->country;
  174.     }
  175.     public function setCountry(?string $country): self
  176.     {
  177.         $this->country $country;
  178.         return $this;
  179.     }
  180.     public function getPhone(): ?string
  181.     {
  182.         return $this->phone;
  183.     }
  184.     public function setPhone(?string $phone): self
  185.     {
  186.         $this->phone $phone;
  187.         return $this;
  188.     }
  189. }