This commit is contained in:
42
api/app/Models/Geral/LmsParametro.php
Normal file
42
api/app/Models/Geral/LmsParametro.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Geral;
|
||||
|
||||
use App\Models\Cadastro\SujeitoAtencao\Sexo;
|
||||
use App\Models\Model;
|
||||
|
||||
class LmsParametro extends Model
|
||||
{
|
||||
protected $table = 'geral_lms_parametro';
|
||||
|
||||
protected $fillable = [
|
||||
'tipo_id',
|
||||
'sexo_id',
|
||||
'mes',
|
||||
'l',
|
||||
'm',
|
||||
's',
|
||||
'sd_3_negativo',
|
||||
'sd_2_negativo',
|
||||
'sd_1_negativo',
|
||||
'sd_0',
|
||||
'sd_1',
|
||||
'sd_2',
|
||||
'sd_3',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function tipo()
|
||||
{
|
||||
return $this->belongsTo(LmsParametroTipo::class);
|
||||
}
|
||||
|
||||
public function sexo()
|
||||
{
|
||||
return $this->belongsTo(Sexo::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user