37 lines
802 B
PHP
37 lines
802 B
PHP
<?php
|
|
|
|
namespace App\Models\Ambulatorio;
|
|
|
|
use App\Models\Cadastro\Estabelecimento\Infraestrutura;
|
|
use App\Models\Model;
|
|
|
|
class ParametrizacaoSigiloInfraestrutura extends Model
|
|
{
|
|
protected $table = 'ambulatorio_parametrizacao_sigilo_infraestrutura';
|
|
|
|
protected $fillable = [
|
|
'parametrizacao_sigilo_id',
|
|
'infraestrutura_id',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'id',
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function parametrizacaoSigilo()
|
|
{
|
|
return $this->belongsTo(ParametrizacaoSigilo::class);
|
|
}
|
|
|
|
public function infraestrutura()
|
|
{
|
|
return $this->belongsTo(Infraestrutura::class);
|
|
}
|
|
}
|