<?php

namespace App\Models;

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

use Illuminate\Database\Eloquent\SoftDeletes;



class CopiaConfigCelula extends Model
{
    use HasFactory; 
    use SoftDeletes;
    protected $dates = ['deleted_at'];
    protected $table="celulascopiasconfiguracoes";

    
    public  function getCelula(){

        return $this->hasOne( Celula::class,'id','celula_id');
    }
}
