mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 15:10:16 +02:00
18a6090366
* Add Penalty Seconds on tests * Refactors and start of candidate answer relation * Add breadcrumbs and UI consistency updates across backoffice templates * Add breadcrumbs and UI consistency updates across backoffice templates * Add Dutch translations for email verification and security messages * Rector * Refactor for code consistency and type safety assertions across repositories and entities * Refactor candidate-related logic to optimize queries, improve template separation, and add "Answer Mapping" functionality. * Cleanup * Update Symfony * Add coderabbit config * Fixes from coderabbit
21 lines
380 B
PHP
21 lines
380 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tvdt\Dto;
|
|
|
|
use Symfony\Component\Uid\Uuid;
|
|
|
|
final readonly class Result
|
|
{
|
|
public function __construct(
|
|
public Uuid $id,
|
|
public string $name,
|
|
public int $correct,
|
|
public float $corrections,
|
|
public int $penaltySeconds,
|
|
public \DateInterval $time,
|
|
public float $score,
|
|
) {}
|
|
}
|