mirror of
https://gitlab.aliens-lyon.fr/encartes/backend.git
synced 2026-09-11 08:40:46 +02:00
Séparation de PlaceType dans un autre fichier.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
Reference in New Issue
Block a user