OrderInvoiceStatus.php 798 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @copyright Vertex. All rights reserved. https://www.vertexinc.com/
  4. * @author Mediotype https://www.mediotype.com/
  5. */
  6. namespace Vertex\Tax\Model\ResourceModel;
  7. use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
  8. /**
  9. * Performs Datastore-related actions for the OrderInvoiceStatus repository
  10. */
  11. class OrderInvoiceStatus extends AbstractDb
  12. {
  13. const TABLE_NAME = 'vertex_order_invoice_status';
  14. const FIELD_ID = 'order_id';
  15. const FIELD_SENT = 'sent_to_vertex';
  16. /**
  17. * @inheritdoc
  18. *
  19. * MEQP2 Warning: Protected method. Needed to override AbstractDb's _construct
  20. */
  21. protected function _construct()
  22. {
  23. $this->_isPkAutoIncrement = false;
  24. $this->_init(static::TABLE_NAME, static::FIELD_ID);
  25. }
  26. }