mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
31 lines
664 B
PHP
31 lines
664 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class StatementTransactionsDetail extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'date',
|
|
'statement_transactions_id',
|
|
// 'description',
|
|
// 'credit',
|
|
// 'debit',
|
|
'pay_for',
|
|
'system_references',
|
|
// 'remark_references',
|
|
// 'is_multiple',
|
|
// 'is_matches',
|
|
'system_amounts',
|
|
];
|
|
|
|
public function statementTransaction()
|
|
{
|
|
return $this->belongsTo(StatementTransaction::class, 'statement_transactions_id', 'id');
|
|
}
|
|
}
|