<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Trust extends Model
{
    protected $table = 'trusts';
    protected $fillable = [
       'name', 'created_at','updated_at','branch_id','type','total_invoice','status','amount','approve','increment_amount','increment_approve','user_id'
    ];

    public function branch()
    {
        return $this->belongsTo('App\Branch','branch_id');
    }
}