<?php

namespace App\Models;

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

class profitDetails extends Model
{
    use HasFactory, SoftDeletes;
    protected $table = "profit_details";
    protected $fillable = [
        'voucher_id',
        'product_id',
        'currency_id',
        'cost',
        'priceWithoutTax',
        'priceWithTax',
        'quantity',
        'total_cost',
        'subtotal',
        'total',
        'profit_subtotal',
        'profit_total',
        'percentage_subtotal',
        'percentage_total',
        'status',
    ];

    protected $dates = ['deleted_at'];
}
