<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class total_ccms extends Model
{
    use HasFactory;

        protected $table='total_ccms';
      protected $fillable=['jilla_id','maker_name','date_of_receiving','invoice_date','invoice_number','description','received_cable','ccms_ph_receive_quantity','ccms_ph_receive_quantity','files','remarks'];

      
        public function area_district()
    {
        return $this->hasOne('App\Models\area_master','id','jilla_id');
    }
}