<?php

namespace App\Models;

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

class ParametroDocumental extends Model
{
    use HasFactory;

    protected $table='parametrodocumentals';
    use SoftDeletes;
    protected $dates = ['deleted_at'];
    protected $fillable = [
        'posicaoparametro ',
        'cliente_id',
        'seriedoc',
    ];
    
    public function getCliente(){
        return $this->belongsTo(Cliente::class,'cliente_id','id');
    }
}
