mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
20 lines
320 B
PHP
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');
|
|
}
|
|
|
|
} |