symfony-playground/src/Entity/MerBeDM.php

38 lines
723 B
PHP

<?php
namespace App\Entity;
use App\Repository\MerBeDMRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MerBeDMRepository::class)]
class MerBeDM extends MerService
{
use MerDM;
// #[ORM\Id]
// #[ORM\GeneratedValue]
// #[ORM\Column(type: 'integer')]
// private $id;
#[ORM\Column(type: 'string', length: 255)]
private $activationCode;
// public function getId(): ?int
// {
// return $this->id;
// }
public function getActivationCode(): ?string
{
return $this->activationCode;
}
public function setActivationCode(string $activationCode): self
{
$this->activationCode = $activationCode;
return $this;
}
}