<?php

namespace App\Models;

use App\Filters\SupplierFilters;
use Essa\APIToolKit\Filters\Filterable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Supplier extends Model
{
    use HasFactory, Filterable, SoftDeletes;

    protected string $default_filters = SupplierFilters::class;

    protected $table = 'suppliers';

    protected $fillable = [
        "name",
        "code",
    ];
}
