symfony-playground/src/Entity/MerDM.php

36 lines
619 B
PHP

<?php
namespace App\Entity;
use App\Repository\MerDMRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MerDMRepository::class)]
class MerDM extends Platform
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'integer')]
private $offer_id;
public function getId(): ?int
{
return $this->id;
}
public function getOfferId(): ?int
{
return $this->offer_id;
}
public function setOfferId(int $offerId): self
{
$this->offer_id = $offerId;
return $this;
}
}