SourceCarrierLink.php 821 B

1234567891011121314151617181920212223242526272829303132
  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. * This class needed for internal purposes only, to make collection work properly
  12. */
  13. class SourceCarrierLink extends AbstractDb
  14. {
  15. /**#@+
  16. * Constants related to specific db layer
  17. */
  18. const TABLE_NAME_SOURCE_CARRIER_LINK = 'inventory_source_carrier_link';
  19. const ID_FIELD_NAME = 'link_id';
  20. /**#@-*/
  21. /**
  22. * @inheritdoc
  23. */
  24. protected function _construct()
  25. {
  26. $this->_init(self::TABLE_NAME_SOURCE_CARRIER_LINK, self::ID_FIELD_NAME);
  27. }
  28. }