StockSourceLink.php 731 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Inventory\Model\ResourceModel;
  8. use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
  9. /**
  10. * Implementation of basic operations for SourceCarrierLink entity for specific db layer
  11. */
  12. class StockSourceLink extends AbstractDb
  13. {
  14. /**#@+
  15. * Constants related to specific db layer
  16. */
  17. const TABLE_NAME_STOCK_SOURCE_LINK = 'inventory_source_stock_link';
  18. const ID_FIELD_NAME = 'link_id';
  19. /**#@-*/
  20. /**
  21. * @inheritdoc
  22. */
  23. protected function _construct()
  24. {
  25. $this->_init(self::TABLE_NAME_STOCK_SOURCE_LINK, self::ID_FIELD_NAME);
  26. }
  27. }