diff --git a/app/Models/Item.php b/app/Models/Item.php index be85049d2..e46a13621 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -21,4 +21,9 @@ class Item extends Model { return $this->belongsTo(Plant::class); } + + public function stickerMasters() + { + return $this->hasMany(StickerMaster::class, 'item_id', 'id'); + } }