feat: API endpoint to load travel data by code

This commit is contained in:
Björn Fromme committed 2025-01-14 12:41:40 +01:00
1 parent b196825ab3
commit c96b525aa4
6 files changed
+82 -21

No files matched your search

+9
View File
@@ -2,10 +2,19 @@
namespace App\BusProNet\Model;
use Symfony\Component\Serializer\Attribute\Groups;
class CrmSelection
{
#[Groups(['api:single'])]
public ?int $id = null;
#[Groups(['api:single'])]
public ?string $label = null;
#[Groups(['api:single'])]
public bool $mutable = false;
#[Groups(['api:single'])]
public bool $selected = false;
}