<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PreSettings extends Model
{
    protected $table = "pre_settings";
    protected $fillable = [
        'company_id','pre_orders','pre_bill','pre_buy_bill','pre_cash','pre_buy_cash',
        'pre_expenses','pre_clients','pre_suppliers','pre_return','pre_buy_return',
        'pre_quotation','pre_purchase_order'
    ];
    public function company(){
        return $this->belongsTo('\App\Models\Company','company_id','id');
    }
}
