<?php
namespace App\Entity;
use App\Repository\MentionLegalRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=MentionLegalRepository::class)
*/
class MentionLegal
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
public function getId(): ?int
{
return $this->id;
}
/**
* @ORM\Column(type="text", nullable=true)
*/
private $termsOfService;
public function getTermsOfService(): ?string
{
return $this->termsOfService;
}
public function setTermsOfService(?string $termsOfService): self
{
$this->termsOfService = $termsOfService;
return $this;
}
}