<?php

namespace App\Models;

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

class TypeFacture extends Model
{
    use HasFactory;

    protected $fillable = [
        'type'
    ];

    public function facture()
    {
        return $this->hasMany(Facture::class);
    }

    // public function type(){
    //     return $this->belongsToMany(Facture::class);
    // }



}
