finances library

This commit is contained in:
2018-11-17 01:31:48 -06:00
parent c23534ef75
commit 95e6b3a7dd
5 changed files with 205 additions and 47 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CorpJournal extends Model
{
/**
* Table Name
*/
protected $table = 'CorpJournal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}