<?php

namespace App\Models;

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

class PurchaseInvoice extends Model
{
    use HasFactory;

    protected $fillable = [
        'make',
        'model',
        'varient',
        'registration_no',
        'purchase_date',
        'purchase_price',
        'vendor_name',
        'seller_cnic',
        'seller_phone',
        'seller_address',
        'invoice_file', // This will store the path or filename
        'invoice_file_path'

    ];

    protected $dates = [
        'inspection_date', 'created_at', 'updated_at'
    ];
}
