20 lines
430 B
PHP
20 lines
430 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;
|
|
public array $mapping = [];
|
|
public ?float $totalPrice = null;
|
|
public array $individualPrice = [];
|
|
}
|