<?php
namespace App\Entity;
use App\Repository\NewUserRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: NewUserRepository::class)]
class NewUser
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $firstName = null;
#[ORM\Column(length: 255)]
private ?string $lastName = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(length: 255)]
private ?string $password = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $phoneNumber = null;
#[ORM\Column(length: 255,nullable: true)]
private ?string $user_address = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $UserType = null;
public function getId(): ?int
{
return $this->id;
}
public function getFirstName(): ?string
{
return $this->firstName;
}
public function setFirstName(string $firstName): self
{
$this->firstName = $firstName;
return $this;
}
public function getLastName(): ?string
{
return $this->lastName;
}
public function setLastName(string $lastName): self
{
$this->lastName = $lastName;
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 getPhoneNumber(): ?string
{
return $this->phoneNumber;
}
public function setPhoneNumber(?string $phoneNumber): self
{
$this->phoneNumber = $phoneNumber;
return $this;
}
public function getUserAddress(): ?string
{
return $this->user_address;
}
public function setUserAddress(?string $user_address): self
{
$this->user_address = $user_address;
return $this;
}
public function getUserType(): ?string
{
return $this->UserType;
}
public function setUserType(?string $UserType): self
{
$this->UserType = $UserType;
return $this;
}
}