symfony-playground/src/Entity/MerDT.php

36 lines
651 B
PHP

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