mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
7ca23edb9b
2. BankStatementController (for importing data from csv files from bank to insert into the database)
24 lines
395 B
PHP
24 lines
395 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class StatementAccount extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'number',
|
|
'type',
|
|
'name',
|
|
'currency',
|
|
];
|
|
|
|
public function statements()
|
|
{
|
|
return $this->hasMany(AccountStatement::class);
|
|
}
|
|
}
|