This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\AtencaoBasica\FichaComplementar;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class FichaComplementarAtendimentosPermitidos extends Model
|
||||
{
|
||||
protected $table = 'atencao_basica_ficha_complementar_atendimento_permitido';
|
||||
|
||||
protected $fillable = ['id', 'ocupacao_id'];
|
||||
|
||||
protected $hidden = ['created_at', 'updated_at'];
|
||||
|
||||
public function ocupacao()
|
||||
{
|
||||
return $this->belongsTo(Ocupacao::class, 'id', 'ocupacao_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user