28 lines
523 B
PHP
28 lines
523 B
PHP
<?php
|
|
|
|
namespace App\Models\Bpa;
|
|
|
|
use App\Models\Pivot;
|
|
|
|
class ProcedimentoInconsistencia extends Pivot
|
|
{
|
|
protected $hidden = [
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function procedimento()
|
|
{
|
|
return $this->belongsTo(Procedimento::class);
|
|
}
|
|
|
|
public function inconsistencia()
|
|
{
|
|
return $this->belongsTo(Inconsistencia::class);
|
|
}
|
|
}
|