<?php
namespace App\Entity;
use App\Repository\LocataireConjointRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LocataireConjointRepository::class)]
class LocataireConjoint
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $nom = null;
#[ORM\Column(length: 255)]
private ?string $prenom = null;
#[ORM\Column]
private ?int $age = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(length: 255)]
private ?string $metier = null;
#[ORM\Column]
private ?string $numeroFixe = null;
#[ORM\Column]
private ?string $numeroMobile = null;
public function getId(): ?int
{
return $this->id;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(string $prenom): self
{
$this->prenom = $prenom;
return $this;
}
public function getAge(): ?int
{
return $this->age;
}
public function setAge(int $age): self
{
$this->age = $age;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getMetier(): ?string
{
return $this->metier;
}
public function setMetier(string $metier): self
{
$this->metier = $metier;
return $this;
}
public function getNumeroFixe(): ?string
{
return $this->numeroFixe;
}
public function setNumeroFixe(string $numeroFixe): self
{
$this->numeroFixe = $numeroFixe;
return $this;
}
public function getNumeroMobile(): ?string
{
return $this->numeroMobile;
}
public function setNumeroMobile(string $numeroMobile): self
{
$this->numeroMobile = $numeroMobile;
return $this;
}
}