<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Service extends Model { use SoftDeletes; protected $table = 'service'; protected $fillable = ['utype','uid','service_type','status','detail']; public function organization() { return $this->belongsTo(Organization::class); } }