45 lines
830 B
PHP
45 lines
830 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class ServiceCostUsage
|
|
*
|
|
* @property int $id
|
|
* @property float $cost
|
|
* @property string $name
|
|
* @property string|null $reference_1
|
|
* @property string|null $reference_2
|
|
* @property string $output
|
|
* @property string|null $input_1
|
|
* @property string|null $input_2
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
*/
|
|
class ServiceCostUsage extends Model
|
|
{
|
|
protected $table = 'service_cost_usages';
|
|
|
|
protected $casts = [
|
|
'cost' => 'float',
|
|
'output' => 'object',
|
|
];
|
|
|
|
protected $fillable = [
|
|
'cost',
|
|
'name',
|
|
'reference_1',
|
|
'reference_2',
|
|
'output',
|
|
'input_1',
|
|
'input_2',
|
|
];
|
|
}
|