ranjith-dev #187

Merged
jothi merged 54 commits from ranjith-dev into master 2026-01-14 06:37:24 +00:00
Showing only changes of commit d8e722ab0e - Show all commits

View File

@@ -3,15 +3,15 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
class Item extends Model
{
use SoftDeletes;
protected $fillable = [
"plant_id",
'plant_id',
'category',
'code',
'description',
@@ -43,4 +43,9 @@ class Item extends Model
{
return $this->hasMany(TestingPanelReading::class);
}
public function processOrders()
{
return $this->hasMany(ProcessOrder::class);
}
}