<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ProductionCostSetting extends Model
{
    use HasFactory;

    protected $table = 'production_cost_settings';

    protected $fillable = [
        'category',
        'akun_id',
        'cost_estimate',
    ];

    public function akun()
    {
        return $this->belongsTo(Akun::class, 'akun_id');
    }
}

