mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-03-17 14:41:03 +01:00
Séparation de PlaceType dans un autre fichier.
This commit is contained in:
parent
5b74814963
commit
eac34f1a5c
@ -7,14 +7,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
enum PlaceType: string {
|
||||
case Room = 'R';
|
||||
case Corridor = 'C';
|
||||
case Stairs = 'S';
|
||||
case Lift = 'L';
|
||||
case Toilets = 'T';
|
||||
}
|
||||
|
||||
#[ORM\Entity(repositoryClass: PlaceRepository::class)]
|
||||
class Place
|
||||
{
|
||||
|
||||
11
src/Entity/PlaceType.php
Normal file
11
src/Entity/PlaceType.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
enum PlaceType: string {
|
||||
case Room = 'R';
|
||||
case Corridor = 'C';
|
||||
case Stairs = 'S';
|
||||
case Lift = 'L';
|
||||
case Toilets = 'T';
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user