symfony-playground/src/Entity/MerDT.php

36 lines
651 B
PHP
Raw Normal View History

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