symfony-playground/src/Entity/MerDM.php

36 lines
619 B
PHP
Raw Normal View History

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