21 lines
528 B
PHP
21 lines
528 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models\Stats\Monthly;
|
||
|
|
|
||
|
|
use App\Models\Stats\BaseStatModel;
|
||
|
|
|
||
|
|
class StatProjectMonthly extends BaseStatModel
|
||
|
|
{
|
||
|
|
protected $table = 'stat_project_monthly';
|
||
|
|
|
||
|
|
protected $casts = [
|
||
|
|
'contract_total_amount' => 'decimal:2',
|
||
|
|
'expected_expense_total' => 'decimal:2',
|
||
|
|
'actual_expense_total' => 'decimal:2',
|
||
|
|
'labor_cost_total' => 'decimal:2',
|
||
|
|
'material_cost_total' => 'decimal:2',
|
||
|
|
'gross_profit' => 'decimal:2',
|
||
|
|
'gross_profit_rate' => 'decimal:2',
|
||
|
|
];
|
||
|
|
}
|