<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Insulin extends Model
{

    use SoftDeletes;

    protected $dates = ['deleted_at'];
    protected $fillable = ['dating','fasting_blood','user_id','fasting_insulin','homa_ir','tg_hdl','hgbaic','waist_circ','resistance'];
    public function user(){
        return $this->belongsTo('App\User','user_id');
    } 
}
