<?php

namespace App;

use App\Module;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;


class Ultrasound extends Model
{
    
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
    'reservation_id','description','image'
  ];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
     public function specialty(){
         return $this->belongsTo('App\Specialty','specialty_id');
     }
}