<?php

namespace App\Models\Stats\Daily;

use App\Models\Stats\BaseStatModel;

class StatProductionDaily extends BaseStatModel
{
    protected $table = 'stat_production_daily';

    protected $casts = [
        'stat_date' => 'date',
        'production_qty' => 'decimal:2',
        'defect_qty' => 'decimal:2',
        'defect_rate' => 'decimal:2',
        'planned_hours' => 'decimal:2',
        'actual_hours' => 'decimal:2',
        'efficiency_rate' => 'decimal:2',
        'delivery_rate' => 'decimal:2',
    ];
}
