ranjith-dev #554

Merged
jothi merged 5 commits from ranjith-dev into master 2026-04-30 09:34:25 +00:00
Showing only changes of commit 5bacae8f53 - Show all commits

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class ProductionOrder extends Model
{
use SoftDeletes;
protected $fillable = [
'plant_id',
'item_id',
'quantity',
'start_date',
'end_date',
'production_order',
'from_serial_number',
'to_serial_number',
];
public function plant()
{
return $this->belongsTo(Plant::class);
}
public function item()
{
return $this->belongsTo(Item::class);
}
}