<?php
namespace App\Entity;
use App\Repository\MinutesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MinutesRepository::class)]
class Minutes
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $minutes = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $date = null;
#[ORM\ManyToOne(inversedBy: 'minutes')]
private ?Broker $broker = null;
#[ORM\ManyToOne(inversedBy: 'minutes')]
private ?Landlords $landlord = null;
#[ORM\ManyToOne(inversedBy: 'minutes')]
private ?Tenants $tenant = null;
#[ORM\ManyToOne(inversedBy: 'minutes')]
private ?PotentialClients $potentialClient = null;
#[ORM\ManyToOne(inversedBy: 'minutes')]
private ?User $admin = null;
public function getId(): ?int
{
return $this->id;
}
public function getMinutes(): ?string
{
return $this->minutes;
}
public function setMinutes(?string $minutes): self
{
$this->minutes= $minutes;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->date;
}
public function setDate(?\DateTimeInterface $date): self
{
$this->date = $date;
return $this;
}
public function getBroker(): ?Broker
{
return $this->broker;
}
public function setBroker(?Broker $broker): self
{
$this->broker = $broker;
return $this;
}
public function getLandlord(): ?Landlords
{
return $this->landlord;
}
public function setLandlord(?Landlords $landlord): self
{
$this->landlord = $landlord;
return $this;
}
public function getTenant(): ?Tenants
{
return $this->tenant;
}
public function setTenant(?Tenants $tenant): self
{
$this->tenant = $tenant;
return $this;
}
public function getPotentialClient(): ?PotentialClients
{
return $this->potentialClient;
}
public function setPotentialClient(?PotentialClients $potentialClient): self
{
$this->potentialClient = $potentialClient;
return $this;
}
public function getAdmin(): ?User
{
return $this->admin;
}
public function setAdmin(?User $admin): self
{
$this->admin = $admin;
return $this;
}
}