<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class CargoItem extends Model
{
    use HasFactory;

    protected $fillable = ['code', 'name', 'is_hazardous', 'unit', 'is_active'];

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