<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class FixedAssetAccount extends Model
{
    protected $table = 'fixed_asset_accounts';

    protected $fillable = [
    'asset_type_id',
    'ftp',
    'wdv',
    'maint',
    'type',
    'is_book',
    'from_date',
    'to_date',
    'asset_ids',
    ];

  public function asset_type()
  {
      return $this->belongsTo('App\FixedAssetType' , 'asset_type_id');
    }
}
