<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Akun;

class TaxFiscalCorrection extends Model
{
    use HasFactory;

    protected $table = 'tax_fiscal_corrections';

    protected $fillable = [
        'corporateincome_id',
        'akun_desc',
        'commercial_amount',
        'positive_correction',
        'negative_correction',
        'fiscal_amount',
    ];

    public function corporateincome()
    {
        return $this->belongsTo(CorporateIncomeTax::class, 'corporateincome_id');
    }
}
