<?php

namespace App\Models\Stats\Monthly;

use App\Models\Stats\BaseStatModel;

class StatProductionMonthly extends BaseStatModel
{
    protected $table = 'stat_production_monthly';

    protected $casts = [
        'production_qty' => 'decimal:2',
        'defect_qty' => 'decimal:2',
        'avg_defect_rate' => 'decimal:2',
        'avg_efficiency_rate' => 'decimal:2',
        'avg_delivery_rate' => 'decimal:2',
        'total_planned_hours' => 'decimal:2',
        'total_actual_hours' => 'decimal:2',
    ];
}
