<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class SalesPerBoriWeight extends Model
{
    protected $primaryKey = 'id_sales_per_bw';
    protected $table = 'sales_per_bw';
    protected $fillable = [
        'sales_items_details_id',
        'bori_number',
        'per_bori_weight',
    ];

    public function salesItemDetail()
    {
        return $this->belongsTo(SalesItemDetail::class, 'sales_items_details_id');
    }
}
