<?phpnamespace App\Entity\MafoId;use Doctrine\ORM\Mapping as ORM;use Doctrine\ORM\Mapping\UniqueConstraint;/** * @ORM\Entity(repositoryClass="App\Repository\MafoOffersMappingRepository") * @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 MafoOffersMapping{ /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\ManyToOne(targetEntity="MafoOffers") * @ORM\JoinColumn(name="mafo_offer", referencedColumnName="id") */ private $mafoOffer; /** * @ORM\Column(type="string", nullable=false) */ private $systemIdentifier; /** * @ORM\Column(type="integer", nullable=false) */ private $systemIdentifierId; /** * @ORM\Column(type="datetime") */ private $dateUpdated; /** * @ORM\Column(type="datetime") */ private $dateInserted; public function getId(): ?int { return $this->id; } public function getMafoOffer(): ?MafoOffers { return $this->mafoOffer; } public function setMafoOffer(?MafoOffers $mafoOffer): self { $this->mafoOffer = $mafoOffer; return $this; } public function getSystemIdentifier(): ?string { return $this->systemIdentifier; } public function setSystemIdentifier(string $systemIdentifier): self { $this->systemIdentifier = $systemIdentifier; return $this; } public function getSystemIdentifierId(): ?int { return $this->systemIdentifierId; } public function setSystemIdentifierId(int $systemIdentifierId): self { $this->systemIdentifierId = $systemIdentifierId; 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; }}