Model
Stock
Magento\Inventory\Model\ResourceModel\Stock
What it does
This resource model manages database operations for Stock entities in Magento's Multi-Source Inventory (MSI) system.
Developers use this class when performing CRUD operations on inventory stocks, which represent logical groupings of inventory sources for sales channels.
It handles the interaction with the 'inventory_stock' database table and ensures stock names are unique.