<?php
namespace App\Entity;
use App\Repository\PaymentRequisitesRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PaymentRequisitesRepository::class)
*/
class PaymentRequisites
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
/**
* @ORM\ManyToOne(targetEntity=ContentGroup::class)
* @ORM\JoinColumn(nullable=true)
*/
private $contentGroup;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getContentGroup(): ?ContentGroup
{
return $this->contentGroup;
}
public function setContentGroup(?ContentGroup $contentGroup): self
{
$this->contentGroup = $contentGroup;
return $this;
}
}