mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 07:00:14 +02:00
b66d2f9e86
CI / Tests (push) Failing after 35s
CI / Deploy (push) Has been skipped
- Replaced getters/setters with direct property access across entities and repositories. - Added and configured `martin-georgiev/postgresql-for-doctrine` for PostgreSQL enhancements. - Updated Doctrine configuration with types, mappings, and JSONB query functions. - Removed unused `EliminationService` and related YAML configurations.
28 lines
753 B
PHP
28 lines
753 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tvdt\Entity;
|
|
|
|
use Doctrine\DBAL\Types\Types;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Symfony\Bridge\Doctrine\Types\UuidType;
|
|
use Symfony\Component\Uid\Uuid;
|
|
use Tvdt\Repository\SeasonSettingsRepository;
|
|
|
|
#[ORM\Entity(repositoryClass: SeasonSettingsRepository::class)]
|
|
class SeasonSettings
|
|
{
|
|
#[ORM\Column(type: UuidType::NAME)]
|
|
#[ORM\CustomIdGenerator(class: 'doctrine.uuid_generator')]
|
|
#[ORM\GeneratedValue(strategy: 'CUSTOM')]
|
|
#[ORM\Id]
|
|
public private(set) Uuid $id;
|
|
|
|
#[ORM\Column(type: Types::BOOLEAN, options: ['default' => false])]
|
|
public bool $showNumbers = false;
|
|
|
|
#[ORM\Column(type: Types::BOOLEAN, options: ['default' => false])]
|
|
public bool $confirmAnswers = false;
|
|
}
|