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

36 lines
651 B
PHP
Raw Normal View History

2022-05-23 15:22:36 +02:00
<?php
namespace App\Entity;
use App\Repository\MerDTRepository;
use Doctrine\ORM\Mapping as ORM;
2022-05-24 17:07:26 +02:00
#[ORM\Entity(repositoryClass: MerDTRepository::class)]
2022-05-25 09:54:28 +02:00
class MerDT 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: 'string', length: 255)]
2022-05-24 10:06:04 +02:00
private $service_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 getServiceId(): ?string
{
2022-05-24 10:06:04 +02:00
return $this->service_id;
2022-05-23 15:22:36 +02:00
}
public function setServiceId(string $serviceId): self
{
2022-05-24 10:06:04 +02:00
$this->service_id = $serviceId;
2022-05-23 15:22:36 +02:00
return $this;
}
}