simulation model

This commit is contained in:
2022-05-23 15:22:36 +02:00
parent c8545e4cc7
commit f251e6eb0d
32 changed files with 927 additions and 12 deletions

35
src/Entity/MerDT.php Normal file
View File

@ -0,0 +1,35 @@
<?php
namespace App\Entity;
use App\Repository\MerDTRepository;
use Doctrine\ORM\Mapping as ORM;
//#[ORM\Entity(repositoryClass: MerDTRepository::class)]
trait MerDT
{
// #[ORM\Id]
// #[ORM\GeneratedValue]
// #[ORM\Column(type: 'integer')]
// private $id;
#[ORM\Column(type: 'string', length: 255)]
private $serviceId;
// public function getId(): ?int
// {
// return $this->id;
// }
public function getServiceId(): ?string
{
return $this->serviceId;
}
public function setServiceId(string $serviceId): self
{
$this->serviceId = $serviceId;
return $this;
}
}