This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\AtencaoBasica\FichaComplementar;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class FichaComplementarTesteOlho extends Model
|
||||
{
|
||||
protected $table = 'atencao_basica_ficha_complementar_teste_olhinho';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'codigo',
|
||||
'descricao'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
|
||||
public function fichaComplementar()
|
||||
{
|
||||
return $this->belongsTo(FichaComplementar::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user