<?phpnamespace App\Entity\MafoId;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\MafoOffersRepository") * @ORM\Table */class MafoOffers{ /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\ManyToOne(targetEntity="MafoAdvertisers") * @ORM\JoinColumn(name="advertiser", referencedColumnName="id") */ private $advertiser; /** * @ORM\Column(type="string", nullable=false) */ private $name; /** * @ORM\Column(type="string", nullable=true) */ private $status; /** * @ORM\Column(type="string", nullable=true) */ private $updatedByEmail; /** * @ORM\Column(type="datetime") */ private $dateUpdated; /** * @ORM\Column(type="datetime") */ private $dateInserted; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getDateUpdated(): ?\DateTimeInterface { return $this->dateUpdated; } public function setDateUpdated(\DateTimeInterface $dateUpdated): self { $this->dateUpdated = $dateUpdated; return $this; } public function getDateInserted(): ?\DateTimeInterface { return $this->dateInserted; } public function setDateInserted(\DateTimeInterface $dateInserted): self { $this->dateInserted = $dateInserted; return $this; } public function getStatus(): ?string { return $this->status; } public function setStatus(?string $status): static { $this->status = $status; return $this; } public function getUpdatedByEmail(): ?string { return $this->updatedByEmail; } public function setUpdatedByEmail(?string $updatedByEmail): static { $this->updatedByEmail = $updatedByEmail; return $this; } public function getAdvertiser(): ?MafoAdvertisers { return $this->advertiser; } public function setAdvertiser(?MafoAdvertisers $advertiser): static { $this->advertiser = $advertiser; return $this; }}