I want to declare table in config.xml I am put but that is not working
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<global>
<models>
<pwa_pay>
<class>Pwa\Pay\Model</class>
<resourceModel>Pwa\Pay\Model\ResourceModel</resourceModel>
</pwa_pay>
<pwa_pay_resource>
<class>Pwa\Pay\Model\ResourceModel</class>
<entities>
<demotable>
<table>demo_table</table>
</demotable>
</entities>
</pwa_pay_resource>
</models>
</global>
how can call in setup and modle in magento 2
And how can call in setup and model please see: Magento 2 getTable behavior