1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00
invoiceninja/app/Models/ExpenseCategory.php

28 lines
467 B
PHP
Raw Normal View History

2016-06-11 04:47:26 +02:00
<?php namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class ExpenseCategory
*/
2016-06-11 04:47:26 +02:00
class ExpenseCategory extends EntityModel
{
// Expense Categories
use SoftDeletes;
/**
* @var array
*/
2016-06-11 04:47:26 +02:00
protected $fillable = [
'name',
];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
2016-06-11 04:47:26 +02:00
public function expense()
{
return $this->belongsTo('App\Models\Expense');
}
}