Improve custom role table, add isPublic property to League table

This commit is contained in:
Daniel Guzman
2024-05-26 11:59:18 +02:00
parent cc7c707445
commit 15990da3d0
382 changed files with 93 additions and 13470 deletions
+8
View File
@@ -46,6 +46,14 @@ class LeagueFactory
{
$leagueEntity->setCity($leagueDto->city);
}
if (!empty($leagueDto->isPublic))
{
$leagueEntity->setIsPublic($leagueDto->isPublic);
}
else
{
$leagueEntity->setIsPublic(true);
}
$leagueEntity->setActive(true);
return $leagueEntity;
}