<?php
/**
* EditeursGenre.php
* Created by Stéphane Brun
* Date: 2018-09-11 at 15:19
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="editeurs_genre")
*/
class EditeursGenre
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="nom", type="string", length=255)
*/
protected $nom;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @return mixed
*/
public function getNom()
{
return $this->nom;
}
/**
* @param mixed $nom
* @return EditeursGenre
*/
public function setNom($nom)
{
$this->nom = $nom;
return $this;
}
}