<?php
/*
* Ce fichier est la propriété de l'association (c) Projets Métiers
*
* (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
*
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* contactMail
*
* @ORM\Table(name="contact_mail")
* @ORM\Entity(repositoryClass="App\Repository\contactMailRepository")
*/
class contactMail
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="nom", type="string", length=255)
*/
private $nom;
/**
* @var string
*
* @ORM\Column(name="prenom", type="string", length=255)
*/
private $prenom;
/**
* @var string
*
* @ORM\Column(name="courriel", type="string", length=255)
*/
private $courriel;
/**
* @var string
*
* @ORM\Column(name="sujet", type="text")
*/
private $sujet;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set nom
*
* @param string $nom
*
* @return contactMail
*/
public function setNom($nom)
{
$this->nom = $nom;
return $this;
}
/**
* Get nom
*
* @return string
*/
public function getNom()
{
return $this->nom;
}
/**
* Set prenom
*
* @param string $prenom
*
* @return contactMail
*/
public function setPrenom($prenom)
{
$this->prenom = $prenom;
return $this;
}
/**
* Get prenom
*
* @return string
*/
public function getPrenom()
{
return $this->prenom;
}
/**
* Set courriel
*
* @param string $courriel
*
* @return contactMail
*/
public function setCourriel($courriel)
{
$this->courriel = $courriel;
return $this;
}
/**
* Get courriel
*
* @return string
*/
public function getCourriel()
{
return $this->courriel;
}
/**
* Set sujet
*
* @param string $sujet
*
* @return contactMail
*/
public function setSujet($sujet)
{
$this->sujet = $sujet;
return $this;
}
/**
* Get sujet
*
* @return string
*/
public function getSujet()
{
return $this->sujet;
}
}