collection-crud/src/Entity/FilmFormat.php

24 lines
447 B
PHP
Raw Normal View History

2018-07-23 09:52:00 -04:00
<?php declare(strict_types=1);
2018-07-11 09:18:46 -04:00
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
2022-09-29 20:09:31 -04:00
#[ORM\Table(name: 'film_format', schema: 'collection')]
#[ORM\Entity]
2018-07-23 09:52:00 -04:00
class FilmFormat
{
2022-11-17 15:32:57 -05:00
use GetSet;
2022-03-03 10:53:48 -05:00
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private int $id;
#[ORM\Column(name: 'number_id', type: 'integer')]
private int $numberId;
#[ORM\Column(name: 'name', type: 'string')]
private string $name;
2018-07-11 09:18:46 -04:00
}