<?php

namespace App\Models\STOCK;

use Illuminate\Database\Eloquent\Model;

class Immobilisation extends Model
{
    protected $fillable = [
        'productId',
        'acquisitionDate',
        'acquisitionQty',
        'acquisitionValue',
        'amortisationYears',
        'amortisationRate',
        'annualAmortisation',
        'accumulatedAmortisation',
        'netBookValue',
        'status',
        'notes'
    ];

     protected $casts = [
        'acquisitionDate' => 'datetime',
    ];
}
