<?php
namespace App\Entity;
use App\Repository\ContactRappelRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ContactRappelRepository::class)
*/
class ContactRappel
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=15)
*/
private $sexe;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=255)
*/
private $prenom;
/**
* @ORM\Column(type="string", length=30, nullable=true)
*/
private $nom_enfant;
/**
* @ORM\Column(type="string", length=30, nullable=true)
*/
private $prenom_enfant;
/**
* @ORM\Column(type="string", length=30, nullable=true)
*/
private $ligneType;
/**
* @ORM\Column(type="string", length=39, nullable=true)
*/
private $ligneNumero;
/**
* @ORM\Column(type="string", length=255)
*/
private $horaire;
/**
* @ORM\Column(type="string", length=255)
*/
private $objet;
/**
* @ORM\Column(type="datetime")
*/
private $creationDate;
public function getId(): ?int
{
return $this->id;
}
public function getSexe(): ?string
{
return $this->sexe;
}
public function setSexe(string $sexe): self
{
$this->sexe = $sexe;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(string $prenom): self
{
$this->prenom = $prenom;
return $this;
}
public function getNomEnfant(): ?string
{
return $this->nom_enfant;
}
public function setNomEnfant(string $nom_enfant): self
{
$this->nom_enfant = $nom_enfant;
return $this;
}
public function getPrenomEnfant(): ?string
{
return $this->prenom_enfant;
}
public function setPrenomEnfant(string $prenom_enfant): self
{
$this->prenom_enfant = $prenom_enfant;
return $this;
}
public function getLigneType(): ?string
{
return $this->ligneType;
}
public function setLigneType(string $ligneType): self
{
$this->ligneType = $ligneType;
return $this;
}
public function getLigneNumero(): ?string
{
return $this->ligneNumero;
}
public function setLigneNumero(string $ligneNumero): self
{
$this->ligneNumero = $ligneNumero;
return $this;
}
public function getHoraire(): ?string
{
return $this->horaire;
}
public function setHoraire(string $horaire): self
{
$this->horaire = $horaire;
return $this;
}
public function getObjet(): ?string
{
return $this->objet;
}
public function setObjet(string $objet): self
{
$this->objet = $objet;
return $this;
}
public function getCreationDate(): ?\DateTimeInterface
{
return $this->creationDate;
}
public function setCreationDate(\DateTimeInterface $creationDate): self
{
$this->creationDate = $creationDate;
return $this;
}
public function __construct()
{
$this->creationDate = new \Datetime();
}
}