This commit is contained in:
deploy-bot committed 2026-12-04 15:50:10 +00:00
commit 5b230c75aa
278 files changed
+18390

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
<?php
namespace IriksIT\Manager\Models;
use Illuminate\Database\Eloquent\Model;
use IriksIT\Manager\Support\Names;
/**
* What the tokens of one piece of work cost, as a price source worked it out once (`Support\Costs\Ledger`). Kept, because the
* price of a day in the past does not change.
*
* @property int $id
* @property string $fingerprint
* @property string $date
* @property string $name
* @property string|null $version
* @property string $model
* @property string $usd
* @property string $eur
* @property string $usd_per_eur
*/
class WorkCost extends Model
{
protected $guarded = [];
protected $casts = ['priced_at' => 'datetime'];
public function getTable(): string
{
return Names::table('work_costs');
}
}