<?php
namespace App\Entity;
// Entité servant au formulaire de recherche de groupe
use DateTime;
class SearchData
{
public ?string $depart =null;
public ?string $retour =null;
public ?DateTime $dateD =null;
public ?DateTime $dateR =null;
public ?TypeGroupe $typeGroupe=null;
/**
* @return TypeGroupe|null
*/
public function getTypeGroupe(): ?TypeGroupe
{
return $this->typeGroupe;
}
/**
* @param TypeGroupe|null $typeGroupe
*/
public function setTypeGroupe(?TypeGroupe $typeGroupe): void
{
$this->typeGroupe = $typeGroupe;
}
/**
* @return string|null
*/
public function getDepart(): ?string
{
return $this->depart;
}
/**
* @param string|null $depart
*/
public function setDepart(?string $depart): void
{
$this->depart = $depart;
}
/**
* @return string|null
*/
public function getRetour(): ?string
{
return $this->retour;
}
/**
* @param string|null $retour
*/
public function setRetour(?string $retour): void
{
$this->retour = $retour;
}
/**
* @return DateTime|null
*/
public function getDateD(): ?DateTime
{
return $this->dateD;
}
/**
* @param DateTime|null $dateD
*/
public function setDateD(?DateTime $dateD): void
{
$this->dateD = $dateD;
}
/**
* @return DateTime|null
*/
public function getDateR(): ?DateTime
{
return $this->dateR;
}
/**
* @param DateTime|null $dateR
*/
public function setDateR(?DateTime $dateR): void
{
$this->dateR = $dateR;
}
}