feat(history): add energy price history feature
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Features\History\Data;
|
||||
|
||||
use App\Data\ElectricityData;
|
||||
use App\Data\GasData;
|
||||
use Illuminate\Support\Collection;
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class HistoryData extends Data
|
||||
{
|
||||
/**
|
||||
* @property Collection<ElectricityData> $electricity
|
||||
* @property Collection<GasData> $gas
|
||||
*/
|
||||
public function __construct(
|
||||
public Collection $electricity,
|
||||
public Collection $gas,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user