Added item id in sticker mapping master model file #1068

Merged
jothi merged 1 commits from ranjith-dev into master 2026-09-21 12:41:34 +00:00
Showing only changes of commit 87dfe0e65c - Show all commits

View File

@@ -12,7 +12,7 @@ class StickerMappingMaster extends Model
protected $fillable = [
'plant_id',
'item_characteristic_id',
'item_id',
'sticker_structure1_id',
'sticker1_machine_id',
@@ -50,11 +50,6 @@ class StickerMappingMaster extends Model
return $this->belongsTo(Plant::class);
}
public function itemCharacteristic()
{
return $this->belongsTo(ItemCharacteristic::class);
}
public function item(): BelongsTo
{
return $this->belongsTo(Item::class, 'item_id');