v0.9.1
This commit is contained in:
commit
5b230c75aa
278 files changed
+18390
No files matched your search
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user