Sync
This commit is contained in:
44
app/Models/ServiceCostUsage.php
Normal file
44
app/Models/ServiceCostUsage.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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' => 'binary',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'cost',
|
||||
'name',
|
||||
'reference_1',
|
||||
'reference_2',
|
||||
'output',
|
||||
'input_1',
|
||||
'input_2',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user