<?php

namespace App\Models;

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

class ProfitEstimation extends Model
{
    use HasFactory;

    // ✅ Point to the correct table
    protected $table = 'clientprofit_estimations';

    protected $fillable = [
        'order_id',
        'client_id',
        'seed_id',
        'area_size',
        'estimated_revenue',
        'estimated_costs',
        'estimated_profit',
        'production_per_ha',
        'sale_price',
        'calculation_date',
        'createdby'
    ];
}
