<?php
namespace App\Entity;
use App\Repository\CustomerRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CustomerRepository::class)
*/
class Customer
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idCustomer",type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer")
*/
private $idCustomerProfil;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $role;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $lastName;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $firstName;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $email;
/**
* @ORM\Column(type="string", length=255)
*/
private $password;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $company;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $address1;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $address2;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $postCode;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $city;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $country;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $phone;
public function getId(): ?int
{
return $this->id;
}
public function getIdCustomerProfil(): ?string
{
return $this->idCustomerProfil;
}
public function setIdCustomerProfil(string $idCustomerProfil): self
{
$this->idCustomerProfil = $idCustomerProfil;
return $this;
}
public function getRole(): ?string
{
return $this->role;
}
public function setRole(?string $role): self
{
$this->role = $role;
return $this;
}
public function getLastName(): ?string
{
return $this->lastName;
}
public function setLastName(?string $lastName): self
{
$this->lastName = $lastName;
return $this;
}
public function getFirstName(): ?string
{
return $this->firstName;
}
public function setFirstName(?string $firstName): self
{
$this->firstName = $firstName;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getPassword(): ?string
{
return $this->password;
}
public function setPassword(string $password): self
{
$this->password = $password;
return $this;
}
public function getCompany(): ?string
{
return $this->company;
}
public function setCompany(?string $company): self
{
$this->company = $company;
return $this;
}
public function getAddress1(): ?string
{
return $this->address1;
}
public function setAddress1(?string $address1): self
{
$this->address1 = $address1;
return $this;
}
public function getAddress2(): ?string
{
return $this->address2;
}
public function setAddress2(?string $address2): self
{
$this->address2 = $address2;
return $this;
}
public function getPostCode(): ?string
{
return $this->postCode;
}
public function setPostCode(?string $postCode): self
{
$this->postCode = $postCode;
return $this;
}
public function getCity(): ?string
{
return $this->city;
}
public function setCity(?string $city): self
{
$this->city = $city;
return $this;
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): self
{
$this->country = $country;
return $this;
}
public function getPhone(): ?string
{
return $this->phone;
}
public function setPhone(?string $phone): self
{
$this->phone = $phone;
return $this;
}
}