1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 22:22:32 +01:00
invoiceninja/app/Models/ExpenseCategory.php
2016-06-11 12:47:26 +10:00

20 lines
320 B
PHP

<?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');
}
}