feat(history): add energy price history feature
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Data;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Spatie\LaravelData\Attributes\MapInputName;
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\Mappers\SnakeCaseMapper;
|
||||
|
||||
#[MapInputName(SnakeCaseMapper::class)]
|
||||
class GasData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public Carbon $startDate,
|
||||
public Carbon $endDate,
|
||||
public string $period,
|
||||
public ?int $marketPrice,
|
||||
public ?float $totalPriceTaxIncluded,
|
||||
public ?int $priceInclHandlingVat,
|
||||
public ?int $priceTaxWithVat,
|
||||
public Carbon $startDateDatetime,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user