<?php
namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\ParametersRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ApiResource()
* @ApiResource(
* collectionOperations={"get","post"},
* itemOperations={"get","put","patch","delete"},
* normalizationContext={"groups"={"parameters"}},
* denormalizationContext={"groups"={"parameters"}},
* attributes={"pagination_enabled"=false}
* )
* @ORM\Entity(repositoryClass=ParametersRepository::class)
*/
class Parameters
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $legalInformationFr;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $generalTermsFr;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $legalInformationEn;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $generalTermsEn;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $legalInformationDe;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $generalTermsDe;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $legalInformationNl;
/**
* @ORM\Column(type="text", nullable=true)
* @Groups("parameters")
*/
private $generalTermsNl;
/**
* @ORM\Column(type="string", length=255)
* @Groups("parameters")
*/
private $orderEmail;
/**
* @ORM\Column(type="string", length=255)
* @Groups("parameters")
*/
private $noreplyEmail;
/**
* @ORM\Column(type="time")
* @Groups("parameters")
*/
private $orderHour;
public function getId(): ?int
{
return $this->id;
}
public function getLegalInformationFr(): ?string
{
return $this->legalInformationFr;
}
public function setLegalInformationFr(?string $legalInformationFr): self
{
$this->legalInformationFr = $legalInformationFr;
return $this;
}
public function getGeneralTermsFr(): ?string
{
return $this->generalTermsFr;
}
public function setGeneralTermsFr(?string $generalTermsFr): self
{
$this->generalTermsFr = $generalTermsFr;
return $this;
}
public function getLegalInformationEn(): ?string
{
return $this->legalInformationEn;
}
public function setLegalInformationEn(?string $legalInformationEn): self
{
$this->legalInformationEn = $legalInformationEn;
return $this;
}
public function getGeneralTermsEn(): ?string
{
return $this->generalTermsEn;
}
public function setGeneralTermsEn(?string $generalTermsEn): self
{
$this->generalTermsEn = $generalTermsEn;
return $this;
}
public function getLegalInformationDe(): ?string
{
return $this->legalInformationDe;
}
public function setLegalInformationDe(string $legalInformationDe): self
{
$this->legalInformationDe = $legalInformationDe;
return $this;
}
public function getGeneralTermsDe(): ?string
{
return $this->generalTermsDe;
}
public function setGeneralTermsDe(string $generalTermsDe): self
{
$this->generalTermsDe = $generalTermsDe;
return $this;
}
public function getLegalInformationNl(): ?string
{
return $this->legalInformationNl;
}
public function setLegalInformationNl(string $legalInformationNl): self
{
$this->legalInformationNl = $legalInformationNl;
return $this;
}
public function getGeneralTermsNl(): ?string
{
return $this->generalTermsNl;
}
public function setGeneralTermsNl(string $generalTermsNl): self
{
$this->generalTermsNl = $generalTermsNl;
return $this;
}
public function getOrderEmail(): ?string
{
return $this->orderEmail;
}
public function setOrderEmail(string $orderEmail): self
{
$this->orderEmail = $orderEmail;
return $this;
}
public function getNoreplyEmail(): ?string
{
return $this->noreplyEmail;
}
public function setNoreplyEmail(string $noreplyEmail): self
{
$this->noreplyEmail = $noreplyEmail;
return $this;
}
public function getOrderHour(): ?\DateTimeInterface
{
return $this->orderHour;
}
public function setOrderHour(\DateTimeInterface $orderHour): self
{
$this->orderHour = $orderHour;
return $this;
}
}