<?php
namespace App\Entity\Gos;
use App\Repository\Gos\CancellationQuestionChoiceActionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CancellationQuestionChoiceActionRepository::class)
*/
class CancellationQuestionChoiceAction
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity=CancellationAction::class)
*/
private $cancellationAction;
/**
* @ORM\Column(type="string", length=255)
*/
private $discountType;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $discount;
/**
* @ORM\ManyToOne(targetEntity=CancellationQuestion::class)
*/
private $npsQuestion;
public function getId(): ?int
{
return $this->id;
}
public function getDiscountType(): ?string
{
return $this->discountType;
}
public function setDiscountType(string $discountType): self
{
$this->discountType = $discountType;
return $this;
}
public function getDiscount(): ?string
{
return $this->discount;
}
public function setDiscount(?string $discount): self
{
$this->discount = $discount;
return $this;
}
public function getCancellationAction(): ?CancellationAction
{
return $this->cancellationAction;
}
public function setCancellationAction(?CancellationAction $cancellationAction): self
{
$this->cancellationAction = $cancellationAction;
return $this;
}
public function getNpsQuestion(): ?CancellationQuestion
{
return $this->npsQuestion;
}
public function setNpsQuestion(?CancellationQuestion $npsQuestion): self
{
$this->npsQuestion = $npsQuestion;
return $this;
}
}