1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #912 from turbo124/develop

Expense Categories Model
This commit is contained in:
David Bomba 2016-06-11 12:48:37 +10:00 committed by GitHub
commit 12645f37fa

View File

@ -0,0 +1,20 @@
<?php namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
class ExpenseCategory extends EntityModel
{
// Expense Categories
use SoftDeletes;
protected $fillable = [
'name',
];
public function expense()
{
return $this->belongsTo('App\Models\Expense');
}
}