migrate to gtea from bistbucket
This commit is contained in:
28
public/restaurant/Modules/Accounting/app/Models/Expense.php
Normal file
28
public/restaurant/Modules/Accounting/app/Models/Expense.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Accounting\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Expense extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'restaurant_id',
|
||||
'fund_id',
|
||||
'account_id',
|
||||
'expense_category_id',
|
||||
'amount',
|
||||
'transaction_date',
|
||||
'voucher_no',
|
||||
'received_from',
|
||||
'note',
|
||||
'created_by',
|
||||
'status',
|
||||
];
|
||||
|
||||
protected $dates = ['transaction_date'];
|
||||
|
||||
public const TABLE_NAME = 'expenses';
|
||||
|
||||
protected $table = self::TABLE_NAME;
|
||||
}
|
||||
Reference in New Issue
Block a user