src/Entity/CRM/BranchConfig.php line 10
<?phpnamespace App\Entity\CRM;use App\Entity\CRM\OrderStatus;use App\Repository\BranchConfigRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: BranchConfigRepository::class)]class BranchConfig{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column]private int $daysBeforePaymentDateShow = 1;#[ORM\OneToOne(inversedBy: 'branchConfig', cascade: ['persist', 'remove'])]private Branch $branch;#[ORM\Column]private int $daysToLawFirm = 30;#[ORM\Column]private ?int $daysToNotifyAboutVindication = 7;#[ORM\Column]private ?int $daysToNotifyAboutContractExpiration = 30;#[ORM\Column]private ?int $firstNotificationOfInstalment = 3;#[ORM\Column]private ?int $secondNotificationOfInstalment = 0;#[ORM\Column]private ?int $daysToChangeSupervisorOfAnOrder = null;#[ORM\ManyToOne(inversedBy: 'branchConfigs')]private ?OrderStatus $agreementSignedStatus = null;#[ORM\Column]private ?int $daysToNotifyAboutUpdateAgreementDocs = 180;#[ORM\Column]private ?int $daysToNotifyAboutCustomerFeedback = 14;public function getId(): ?int{return $this->id;}public function getDaysBeforePaymentDateShow(): ?int{return $this->daysBeforePaymentDateShow;}public function setDaysBeforePaymentDateShow(int $daysBeforePaymentDateShow): static{$this->daysBeforePaymentDateShow = $daysBeforePaymentDateShow;return $this;}public function getBranch(): ?Branch{return $this->branch;}public function setBranch(Branch $branch): static{$this->branch = $branch;return $this;}public function getDaysToLawFirm(): ?int{return $this->daysToLawFirm;}public function setDaysToLawFirm(int $daysToLawFirm): static{$this->daysToLawFirm = $daysToLawFirm;return $this;}public function getDaysToNotifyAboutVindication(): ?int{return $this->daysToNotifyAboutVindication;}public function setDaysToNotifyAboutVindication(int $daysToNotifyAboutVindication): static{$this->daysToNotifyAboutVindication = $daysToNotifyAboutVindication;return $this;}public function getDaysToNotifyAboutContractExpiration(): ?int{return $this->daysToNotifyAboutContractExpiration;}public function setDaysToNotifyAboutContractExpiration(int $daysToNotifyAboutContractExpiration): static{$this->daysToNotifyAboutContractExpiration = $daysToNotifyAboutContractExpiration;return $this;}public function getFirstNotificationOfInstalment(): ?int{return $this->firstNotificationOfInstalment;}public function setFirstNotificationOfInstalment(int $firstNotificationOfInstalment): static{$this->firstNotificationOfInstalment = $firstNotificationOfInstalment;return $this;}public function getSecondNotificationOfInstalment(): ?int{return $this->secondNotificationOfInstalment;}public function setSecondNotificationOfInstalment(int $secondNotificationOfInstalment): static{$this->secondNotificationOfInstalment = $secondNotificationOfInstalment;return $this;}public function getDaysToChangeSupervisorOfAnOrder(): ?int{return $this->daysToChangeSupervisorOfAnOrder;}public function setDaysToChangeSupervisorOfAnOrder(int $daysToChangeSupervisorOfAnOrder): static{$this->daysToChangeSupervisorOfAnOrder = $daysToChangeSupervisorOfAnOrder;return $this;}public function getAgreementSignedStatus(): ?OrderStatus{return $this->agreementSignedStatus;}public function setAgreementSignedStatus(?OrderStatus $agreementSignedStatus): static{$this->agreementSignedStatus = $agreementSignedStatus;return $this;}public function getDaysToNotifyAboutUpdateAgreementDocs(): ?int{return $this->daysToNotifyAboutUpdateAgreementDocs;}public function setDaysToNotifyAboutUpdateAgreementDocs(int $daysToNotifyAboutUpdateAgreementDocs): static{$this->daysToNotifyAboutUpdateAgreementDocs = $daysToNotifyAboutUpdateAgreementDocs;return $this;}public function getDaysToNotifyAboutCustomerFeedback(): ?int{return $this->daysToNotifyAboutCustomerFeedback;}public function setDaysToNotifyAboutCustomerFeedback(int $daysToNotifyAboutCustomerFeedback): static{$this->daysToNotifyAboutCustomerFeedback = $daysToNotifyAboutCustomerFeedback;return $this;}}