<?php

namespace Modules\Vrc\Entities;

use Illuminate\Database\Eloquent\Model;

class VrcWasteStream extends Model
{
    protected $table = 'vrc_waste_streams';

    protected $fillable = [
        'business_id', 'name', 'name_ar', 'type', 'unit', 'is_hazardous', 'is_active',
    ];

    protected $casts = [
        'is_hazardous' => 'boolean',
        'is_active'    => 'boolean',
    ];

    public const TYPES = ['used_oil', 'solvent', 'battery', 'tyre', 'coolant', 'oil_filter', 'metal_scrap', 'other'];
}
