<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Supplier extends Model
{
    protected $fillable = ['name', 'phone', 'address', 'is_active'];

    public function purchases()
    {
        return $this->hasMany(Purchase::class);
    }
}
