37 lines
756 B
PHP
37 lines
756 B
PHP
<?php
|
|
|
|
namespace App\Models\Ambulatorio;
|
|
|
|
use App\Models\Geral\Ciap;
|
|
use App\Models\Model;
|
|
|
|
class AtendimentoSoapAntecedenteProblemaFamiliar extends Model
|
|
{
|
|
protected $table = 'ambulatorio_atendimento_soap_antecedente_problema_familiar';
|
|
|
|
protected $fillable = [
|
|
'antecedente_id',
|
|
'ciap_id',
|
|
'observacao',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
];
|
|
|
|
public function antecedente()
|
|
{
|
|
return $this->belongsTo(AtendimentoSoapAntecedente::class);
|
|
}
|
|
|
|
public function ciap()
|
|
{
|
|
return $this->belongsTo(Ciap::class);
|
|
}
|
|
}
|