mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
commit
12645f37fa
20
app/Models/ExpenseCategory.php
Normal file
20
app/Models/ExpenseCategory.php
Normal 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');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user