<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Reconciliation extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'account_id', 'started_at', 'ended_at','reconiled','closing_balance'
    ];

    public function account() {
    	return $this->belongsTo('\App\ChartOfAccount','account_id');
    }
}
