<?php
namespace App\Entity\MafoId;
use Gedmo\Mapping\Annotation as Gedmo;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\UniqueConstraint;
/**
* @ORM\Entity(repositoryClass="App\Repository\MafoAdvertisersMappingRepository")
* @ORM\Table(
* indexes={
* @ORM\Index(name="system_identifier", columns={"system_identifier"}),
* @ORM\Index(name="system_identifier_id", columns={"system_identifier_id"})
* },
* uniqueConstraints={
* @UniqueConstraint(name="system_identifier_unique",
* columns={"system_identifier_id", "system_identifier"})
* })
*/
class MafoAdvertisersMapping
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="MafoAdvertisers")
* @ORM\JoinColumn(name="mafo_advertiser_id", referencedColumnName="id")
*/
private $mafoAdvertiserId;
/**
* @ORM\Column(type="string", nullable=false)
*/
private $systemIdentifier;
/**
* @ORM\Column(type="integer", nullable=false)
*/
private $systemIdentifierId;
/**
* @ORM\Column(type="string", nullable=false)
*/
private $addedByEmail;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $updatedByEmail;
/**
* @ORM\Column(name="deletedAt", type="datetime", nullable=true)
*/
private $deletedAt;
/**
* @ORM\Column(type="datetime")
*/
private $dateUpdated;
/**
* @ORM\Column(type="datetime")
*/
private $dateInserted;
public function getId(): ?int
{
return $this->id;
}
public function getSystemIdentifier(): ?string
{
return $this->systemIdentifier;
}
public function setSystemIdentifier(string $systemIdentifier): static
{
$this->systemIdentifier = $systemIdentifier;
return $this;
}
public function getSystemIdentifierId(): ?int
{
return $this->systemIdentifierId;
}
public function setSystemIdentifierId(int $systemIdentifierId): static
{
$this->systemIdentifierId = $systemIdentifierId;
return $this;
}
public function getAddedByEmail(): ?string
{
return $this->addedByEmail;
}
public function setAddedByEmail(string $addedByEmail): static
{
$this->addedByEmail = $addedByEmail;
return $this;
}
public function getDeletedAt(): ?\DateTimeInterface
{
return $this->deletedAt;
}
public function setDeletedAt(?\DateTimeInterface $deletedAt): static
{
$this->deletedAt = $deletedAt;
return $this;
}
public function getDateUpdated(): ?\DateTimeInterface
{
return $this->dateUpdated;
}
public function setDateUpdated(\DateTimeInterface $dateUpdated): static
{
$this->dateUpdated = $dateUpdated;
return $this;
}
public function getDateInserted(): ?\DateTimeInterface
{
return $this->dateInserted;
}
public function setDateInserted(\DateTimeInterface $dateInserted): static
{
$this->dateInserted = $dateInserted;
return $this;
}
public function getMafoAdvertiserId(): ?MafoAdvertisers
{
return $this->mafoAdvertiserId;
}
public function setMafoAdvertiserId(?MafoAdvertisers $mafoAdvertiserId): static
{
$this->mafoAdvertiserId = $mafoAdvertiserId;
return $this;
}
public function getUpdatedByEmail(): ?string
{
return $this->updatedByEmail;
}
public function setUpdatedByEmail(?string $updatedByEmail): static
{
$this->updatedByEmail = $updatedByEmail;
return $this;
}
}