<?php
namespace App\Entity;
use App\Repository\CustomerConfigurationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: CustomerConfigurationRepository::class)]
class CustomerConfiguration
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $host = null;
#[ORM\Column(nullable: true)]
private ?bool $test = null;
#[ORM\Column]
private ?bool $active = null;
#[ORM\Column]
private ?bool $contributionAllow = false;
#[ORM\Column]
private ?bool $contributionActive = false;
#[ORM\Column]
private ?float $contributionPrice = 0;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $contractStart = null;
#[ORM\Column(type: Types::DATE_MUTABLE)]
private ?\DateTimeInterface $contractEnd = null;
#[ORM\Column(length: 255)]
private ?string $homedir;
#[ORM\Column(length: 20)]
private ?float $basicPrice = null;
#[ORM\Column(length: 20)]
private ?float $areaBasicPrice = null;
public function getId(): ?int
{
return $this->id;
}
public function getHost(): ?string
{
return $this->host;
}
public function setHost(string $host): self
{
$this->host = $host;
return $this;
}
public function isTest(): ?bool
{
return $this->test;
}
public function setTest(?bool $test): self
{
$this->test = $test;
return $this;
}
public function isActive(): ?bool
{
return $this->active;
}
public function setActive(bool $active): self
{
$this->active = $active;
return $this;
}
public function getContractStart(): ?\DateTimeInterface
{
return $this->contractStart;
}
public function setContractStart(\DateTimeInterface $contractStart): self
{
$this->contractStart = $contractStart;
return $this;
}
public function getContractEnd(): ?\DateTimeInterface
{
return $this->contractEnd;
}
public function setContractEnd(\DateTimeInterface $contractEnd): self
{
$this->contractEnd = $contractEnd;
return $this;
}
public function getHomedir(): ?string
{
return $this->homedir;
}
public function setHomedir(string $homedir): self
{
$this->homedir = $homedir;
return $this;
}
public function isContributionAllow(): ?bool
{
return $this->contributionAllow;
}
public function setContributionAllow(bool $contributionAllow): self
{
$this->contributionAllow = $contributionAllow;
return $this;
}
public function isContributionActive(): ?bool
{
return $this->contributionActive;
}
public function setContributionActive(bool $contributionActive): self
{
$this->contributionActive = $contributionActive;
return $this;
}
public function getContributionPrice(): ?float
{
return $this->contributionPrice;
}
public function setContributionPrice(float $contributionPrice): self
{
$this->contributionPrice = $contributionPrice;
return $this;
}
public function getBasicPrice(): ?float
{
return $this->basicPrice;
}
public function setBasicPrice(float $basicPrice): self
{
$this->basicPrice = $basicPrice;
return $this;
}
public function getAreaBasicPrice(): ?float
{
return $this->areaBasicPrice;
}
public function setAreaBasicPrice(float $areaBasicPrice): self
{
$this->areaBasicPrice = $areaBasicPrice;
return $this;
}
}