You've already forked symfony-playground
not working
This commit is contained in:
@ -5,21 +5,21 @@ namespace App\Entity;
|
||||
use App\Repository\MerDTRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
//#[ORM\Entity(repositoryClass: MerDTRepository::class)]
|
||||
trait MerDT
|
||||
#[ORM\Entity(repositoryClass: MerDTRepository::class)]
|
||||
class MerDT
|
||||
{
|
||||
// #[ORM\Id]
|
||||
// #[ORM\GeneratedValue]
|
||||
// #[ORM\Column(type: 'integer')]
|
||||
// private $id;
|
||||
#[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 getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getServiceId(): ?string
|
||||
{
|
||||
|
Reference in New Issue
Block a user