<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Contrat client
*
* @ORM\Table()
* @ORM\Entity
*/
class CancelReason
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @ORM\Column(name="label", type="string", nullable=true)
*/
private $label;
/**
* @ORM\Column(name="plannedAgain", type="boolean", nullable=true)
*/
private $plannedAgain = true;
public function __toString()
{
return $this->label;
}
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getLabel()
{
return $this->label;
}
/**
* @param mixed $label
*/
public function setLabel($label): void
{
$this->label = $label;
}
/**
* @return mixed
*/
public function getPlannedAgain()
{
return $this->plannedAgain;
}
/**
* @param mixed $plannedAgain
*/
public function setPlannedAgain($plannedAgain): void
{
$this->plannedAgain = $plannedAgain;
}
}