Files
symfony-playground/src/Entity/MerDM.php

36 lines
619 B
PHP
Raw Normal View History

2022-05-23 15:22:36 +02:00
<?php
namespace App\Entity;
use App\Repository\MerDMRepository;
use Doctrine\ORM\Mapping as ORM;
2022-05-24 17:07:26 +02:00
#[ORM\Entity(repositoryClass: MerDMRepository::class)]
2022-05-25 09:54:28 +02:00
class MerDM extends Platform
2022-05-23 15:22:36 +02:00
{
2022-05-24 17:07:26 +02:00
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
2022-05-23 15:22:36 +02:00
#[ORM\Column(type: 'integer')]
2022-05-24 10:06:04 +02:00
private $offer_id;
2022-05-23 15:22:36 +02:00
2022-05-24 17:07:26 +02:00
public function getId(): ?int
{
return $this->id;
}
2022-05-23 15:22:36 +02:00
public function getOfferId(): ?int
{
2022-05-24 10:06:04 +02:00
return $this->offer_id;
2022-05-23 15:22:36 +02:00
}
public function setOfferId(int $offerId): self
{
2022-05-24 10:06:04 +02:00
$this->offer_id = $offerId;
2022-05-23 15:22:36 +02:00
return $this;
}
}