/** @ORM\Entity */
class Customer
{
/**
* @ORM\Id
* @ORM\Column(type="uuid")
* @ORM\GeneratedValue(strategy="NONE")
*/
private $id;
public function __construct()
{
$this->id = Uuid::uuid4();
}
public function getId(): string
{
return (string) $this->id;
}
@dbrumann
[email protected] 14