collection-crud/src/Entity/BatteryType.php

19 lines
337 B
PHP
Raw Normal View History

2018-07-18 11:35:27 -04:00
<?php declare(strict_types=1);
2017-11-30 15:06:13 -05:00
namespace App\Entity;
2017-11-30 15:06:13 -05:00
use Doctrine\ORM\Mapping as ORM;
/**
* Battery Type
*/
#[ORM\Table(name: 'battery_type', schema: 'camera')]
#[ORM\Entity]
2017-11-30 15:06:13 -05:00
class BatteryType
{
#[ORM\Column(name: 'id', type: 'integer', nullable: false)]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private int $id;
2017-11-30 15:06:13 -05:00
}