Files
myep/src/BusProNet/Model/Surcharge.php
T

22 lines
495 B
PHP

<?php
declare(strict_types=1);
namespace App\BusProNet\Model;
/**
* Represents a surcharge with pricing and participant mapping.
*
* This class handles surcharge data including label, pricing structure,
* and participant mapping for booking calculations.
*/
class Surcharge
{
public ?string $label = null;
/** @var list<int> */
public array $mapping = [];
public ?float $totalPrice = null;
/** @var array<int, float|null> */
public array $individualPrice = [];
}