<?php
namespace App\Entity;
use App\Repository\CustomerContractSettingsRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CustomerContractSettingsRepository::class)]
class CustomerContractSettings
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 10, nullable: true)]
private ?string $token = null;
#[ORM\Column(length: 10, nullable: true)]
private ?string $freeField = null;
#[ORM\Column(nullable: true)]
private ?int $nextValue = null;
#[ORM\Column]
private ?int $minLength = null;
#[ORM\Column]
private ?bool $notifyContractEnd = null;
#[ORM\Column]
private ?int $notifyContractEndInWeeks = null;
#[ORM\Column]
private ?int $extendingPeriodInMonth = null;
#[ORM\Column]
private ?int $cancelingPeriodInMonth = null;
public function getId(): ?int
{
return $this->id;
}
public function getToken(): ?string
{
return $this->token;
}
public function setToken(?string $token): self
{
$this->token = $token;
return $this;
}
public function getFreeField(): ?string
{
return $this->freeField;
}
public function setFreeField(?string $freeField): self
{
$this->freeField = $freeField;
return $this;
}
public function getNextValue(): ?int
{
return $this->nextValue;
}
public function setNextValue(?int $nextValue): self
{
$this->nextValue = $nextValue;
return $this;
}
public function getMinLength(): ?int
{
return $this->minLength;
}
public function setMinLength(int $minLength): self
{
$this->minLength = $minLength;
return $this;
}
public function isNotifyContractEnd(): ?bool
{
return $this->notifyContractEnd;
}
public function setNotifyContractEnd(bool $notifyContractEnd): self
{
$this->notifyContractEnd = $notifyContractEnd;
return $this;
}
public function getNotifyContractEndInWeeks(): ?int
{
return $this->notifyContractEndInWeeks;
}
public function setNotifyContractEndInWeeks(int $notifyContractEndInWeeks): self
{
$this->notifyContractEndInWeeks = $notifyContractEndInWeeks;
return $this;
}
public function getExtendingPeriodInMonth(): ?int
{
return $this->extendingPeriodInMonth;
}
public function setExtendingPeriodInMonth(int $extendingPeriodInMonth): self
{
$this->extendingPeriodInMonth = $extendingPeriodInMonth;
return $this;
}
public function getCancelingPeriodInMonth(): ?int
{
return $this->cancelingPeriodInMonth;
}
public function setCancelingPeriodInMonth(int $cancelingPeriodInMonth): self
{
$this->cancelingPeriodInMonth = $cancelingPeriodInMonth;
return $this;
}
}