<?php
namespace App\Entity;
use App\Repository\VehiculeTechniqueExperienceRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass=VehiculeTechniqueExperienceRepository::class)
*/
class VehiculeTechniqueExperience
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255,
* maxMessage = "{{ limit }} caractères maximum"
* )
*/
private $titre;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255,
* maxMessage = "{{ limit }} caractères maximum"
* )
*/
private $categorie;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255,
* maxMessage = "{{ limit }} caractères maximum"
* )
*/
private $format;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255,
* maxMessage = "{{ limit }} caractères maximum"
* )
*/
private $production;
/**
* @ORM\Column(type="string", length=4, nullable=true)
* @Assert\Length(
* max = 4,
* maxMessage = "Format erroné"
* )
*/
private $annee;
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\Length(
* max = 255,
* maxMessage = "{{ limit }} caractères maximum"
* )
*/
private $realisation;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\PrestataireLogistique", inversedBy="vehiculeTechniqueExperiences")
* @ORM\JoinColumn(nullable=false)
*/
private $prestataireLogistique;
public function getId(): ?int
{
return $this->id;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(?string $titre): self
{
$this->titre = $titre;
return $this;
}
public function getCategorie(): ?string
{
return $this->categorie;
}
public function setCategorie(?string $categorie): self
{
$this->categorie = $categorie;
return $this;
}
public function getFormat(): ?string
{
return $this->format;
}
public function setFormat(?string $format): self
{
$this->format = $format;
return $this;
}
public function getProduction(): ?string
{
return $this->production;
}
public function setProduction(?string $production): self
{
$this->production = $production;
return $this;
}
public function getAnnee(): ?string
{
return $this->annee;
}
public function setAnnee(?string $annee): self
{
$this->annee = $annee;
return $this;
}
public function getRealisation(): ?string
{
return $this->realisation;
}
public function setRealisation(?string $realisation): self
{
$this->realisation = $realisation;
return $this;
}
public function getPrestataireLogistique(): ?PrestataireLogistique
{
return $this->prestataireLogistique;
}
public function setPrestataireLogistique(?PrestataireLogistique $prestataireLogistique): self
{
$this->prestataireLogistique = $prestataireLogistique;
return $this;
}
}