<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class NotificacionDetalle extends Model
{
    protected $table = "notificacion_detalle";
    public $timestamps = false;
    protected $dates = ['visto_at'];
    protected $fillable = ['notificacion_id', 'personal_id', 'visto'];

    public function notificacion(){
    	return $this->belongsTo('App\Notificacion', 'notificacion_id', 'id');
    }
}
