<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Client
*
* @ORM\Table(name="departement")
* @ORM\Entity
*/
class Departement
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="code", type="string", length=3, nullable=false)
*/
private $code = '';
/**
* @var string
*
* @ORM\Column(name="nom", type="string", nullable=false)
*/
private $nom = '';
/**
* @var string
*
* @ORM\Column(name="nom_uppercase", type="string", nullable=false)
*/
private $nom_uppercase = '';
/**
* @var string
*
* @ORM\Column(name="slug", type="string", nullable=false)
*/
private $slug = '';
/**
* @var string
*
* @ORM\Column(name="nom_soundex", type="string", nullable=false)
*/
private $nom_soundex = '';
/**
* @return string
*/
public function __toString()
{
return $this->nom;
}
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @return string
*/
public function getCode(): string
{
return $this->code;
}
/**
* @param string $code
*/
public function setCode(string $code): void
{
$this->code = $code;
}
/**
* @return string
*/
public function getNom(): string
{
return $this->nom;
}
/**
* @param string $nom
*/
public function setNom(string $nom): void
{
$this->nom = $nom;
}
/**
* @return string
*/
public function getNomUppercase(): string
{
return $this->nom_uppercase;
}
/**
* @param string $nom_uppercase
*/
public function setNomUppercase(string $nom_uppercase): void
{
$this->nom_uppercase = $nom_uppercase;
}
/**
* @return string
*/
public function getSlug(): string
{
return $this->slug;
}
/**
* @param string $slug
*/
public function setSlug(string $slug): void
{
$this->slug = $slug;
}
/**
* @return string
*/
public function getNomSoundex(): string
{
return $this->nom_soundex;
}
/**
* @param string $nom_soundex
*/
public function setNomSoundex(string $nom_soundex): void
{
$this->nom_soundex = $nom_soundex;
}
}