<?php

namespace App\Models;

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

class outward_armsclamps extends Model
{
    use HasFactory;
        protected $table='outward_armsclamps';
      protected $fillable=['jilla_id','vendor_id','suplied_by','invoice_number','date_of_receiving','received_arms_dia_25','received_arms_dia_inner_32','received_arms_dia_inner_40','received_clams_set_25','received_clams_set_40_2','received_clams_set_40_3','received_aluminium_cable','files','remarks','approve_status'];

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