<?php

namespace App\Models;

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

class DeviceWarranty extends Model
{
    use HasFactory;

    protected $fillable = ['imei', 'manufacturer_warranty_months', 'shop_warranty_months', 'purchase_date'];

    protected $casts = [
        'purchase_date' => 'date',
    ];
}
