<?php

namespace App\Models\ACCOUNTING;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use OwenIt\Auditing\Contracts\Auditable;

class Bankoperation extends Model implements Auditable
{
    use HasFactory,  \OwenIt\Auditing\Auditable;

    protected $fillable = [
        'bankaccountId',
        'operationIds',
        'amount',
        'operationType',
        'description',
        'operationDate',
    ];

    protected $casts = [
        'operationIds' => 'array',
    ];
}
