collection-crud/src/Entity/Gpu.php

20 lines
402 B
PHP
Raw Normal View History

2022-09-29 20:09:31 -04:00
<?php declare(strict_types=1);
namespace App\Entity;
use App\Repository\GpuRepository;
2022-09-29 20:09:31 -04:00
use Doctrine\ORM\Mapping as ORM;
#[ORM\Table(name: 'gpu', schema: 'collection')]
#[ORM\Entity(repositoryClass: GpuRepository::class)]
2022-10-25 14:52:58 -04:00
class Gpu {
2022-11-17 15:32:57 -05:00
use GetSet;
use GpuBase;
2022-09-29 20:09:31 -04:00
2022-10-25 14:52:58 -04:00
#[ORM\Column(name: 'id', type: 'integer', nullable: FALSE)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private int $id;
2022-09-29 20:09:31 -04:00
}