symfony-playground/src/Entity/MerParaDM.php

38 lines
708 B
PHP

<?php
namespace App\Entity;
use App\Repository\MerParaDMRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MerParaDMRepository::class)]
class MerParaDM extends MerService
{
use MerDM;
// #[ORM\Id]
// #[ORM\GeneratedValue]
// #[ORM\Column(type: 'integer')]
// private $id;
#[ORM\Column(type: 'string', length: 255)]
private $productCode;
// public function getId(): ?int
// {
// return $this->id;
// }
public function getProductCode(): ?string
{
return $this->productCode;
}
public function setProductCode(string $productCode): self
{
$this->productCode = $productCode;
return $this;
}
}