1
0
forked from poc/pds

Added sticker order realtion in plant model

This commit is contained in:
dhanabalan
2026-09-15 09:52:11 +05:30
parent c26eb9a90e
commit 00a3682971

View File

@@ -243,4 +243,10 @@ class Plant extends Model
{ {
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id'); return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
} }
public function stickerOrder()
{
return $this->hasMany(StickerOrder::class, 'plant_id', 'id');
}
} }