title: magento - Can't retrieve entity config
body: <p>I have created two tables in my custom module. 1) wallets 2) sellerrequest
  When I load   <code>Mage::getModel("wallets/wallets")-&gt;load();</code>  it works properly. But when I try to load <code>Mage::getModel("wallets/sellerrequest")-&gt;load();</code>  it gives error -  <code>Can't retrieve entity config: wallets/sellerrequest</code>   I am not sure whether I can do this in single module or not. I am new to magento. 
  Here is my config.xml file - </p>
  
  <pre><code>&lt;config&gt;
      &lt;modules&gt;
          &lt;Adept_Wallets&gt;
              &lt;version&gt;1.4.0&lt;/version&gt;
          &lt;/Adept_Wallets&gt;
      &lt;/modules&gt;
      &lt;frontend&gt;
          &lt;routers&gt;
              &lt;wallets&gt;
                  &lt;use&gt;standard&lt;/use&gt;
                  &lt;args&gt;
                      &lt;module&gt;Adept_Wallets&lt;/module&gt;
                      &lt;frontName&gt;wallets&lt;/frontName&gt;
                  &lt;/args&gt;
              &lt;/wallets&gt;
          &lt;/routers&gt;
          &lt;layout&gt;
              &lt;updates&gt;
                  &lt;wallets&gt;
                      &lt;file&gt;wallets.xml&lt;/file&gt;
                  &lt;/wallets&gt;
              &lt;/updates&gt;
          &lt;/layout&gt;
      &lt;/frontend&gt;
      &lt;admin&gt;
          &lt;routers&gt;
              &lt;wallets&gt;
                      &lt;use&gt;admin&lt;/use&gt;
                      &lt;args&gt;
                          &lt;module&gt;Adept_Wallets&lt;/module&gt;
                          &lt;frontName&gt;wallets&lt;/frontName&gt;
                      &lt;/args&gt;
              &lt;/wallets&gt;
          &lt;/routers&gt;
      &lt;/admin&gt; 
      &lt;global&gt;
          &lt;models&gt;
              &lt;wallets&gt;
                  &lt;class&gt;Adept_Wallets_Model&lt;/class&gt;
                  &lt;resourceModel&gt;wallets_mysql4&lt;/resourceModel&gt;
              &lt;/wallets&gt;
              &lt;wallets_mysql4&gt;
                  &lt;class&gt;Adept_Wallets_Model_Mysql4&lt;/class&gt;
                  &lt;entities&gt;
                      &lt;wallets&gt;
                          &lt;table&gt;wallets&lt;/table&gt;
                      &lt;/wallets&gt; 
                  &lt;/entities&gt;
              &lt;/wallets_mysql4&gt;
  
              &lt;sellerrequest&gt;
                  &lt;class&gt;Adept_Sellerrequest_Model&lt;/class&gt;
                  &lt;resourceModel&gt;sellerrequest_mysql4&lt;/resourceModel&gt;
              &lt;/sellerrequest&gt;
              &lt;sellerrequest_mysql4&gt;
                  &lt;class&gt;Adept_Sellerrequest_Model_Mysql4&lt;/class&gt;
                  &lt;entities&gt;
                      &lt;sellerrequest&gt;
                          &lt;table&gt;sellerrequest&lt;/table&gt;
                      &lt;/sellerrequest&gt; 
                  &lt;/entities&gt;
              &lt;/sellerrequest_mysql4&gt;
  
          &lt;/models&gt;
          &lt;resources&gt;
              &lt;wallets_setup&gt;
                  &lt;setup&gt;
                      &lt;module&gt;Adept_Wallets&lt;/module&gt;
                  &lt;/setup&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_setup&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/wallets_setup&gt;
              &lt;wallets_write&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_write&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/wallets_write&gt;
              &lt;wallets_read&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_read&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/wallets_read&gt;
          &lt;/resources&gt;
          &lt;blocks&gt;
              &lt;wallets&gt;
                  &lt;class&gt;Adept_Wallets_Block&lt;/class&gt;
              &lt;/wallets&gt;
          &lt;/blocks&gt;
          &lt;helpers&gt;
              &lt;wallets&gt;
                  &lt;class&gt;Adept_Wallets_Helper&lt;/class&gt;
              &lt;/wallets&gt;
          &lt;/helpers&gt;
      &lt;/global&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>And the Model file structure is - </p>
  
  <pre><code>Model - 
         - Sellerrequest.php
         - Wallets.php
         - Mysql4
           - Sellerrequest.php
           - Wallets.php
           - Sellerrequest
              - Collection.php
           - Wallets
              - Collection.php
  </code></pre>
  
  <p>Here is Sellerrequest.php in Model directory - </p>
  
  <pre><code>&lt;?php
  
  class Adept_Wallets_Model_Sellerrequest extends Mage_Core_Model_Abstract
  {
      public function _construct()
      {
          parent::_construct();
          $this-&gt;_init('wallets/sellerrequest');
      }
  }
  </code></pre>
  
  <p>Mysql4 -> Sellerrequest.php</p>
  
  <pre><code>&lt;?php
  
  class Adept_Wallets_Model_Mysql4_Sellerrequest extends Mage_Core_Model_Mysql4_Abstract
  {
      public function _construct()
      {    
          // Note that the banners_id refers to the key field in your database table.
          $this-&gt;_init('wallets/sellerrequest', 'id');
      }
  }
  </code></pre>
  
  <p>Mysql4 -> Sellerrequest -> Collection.php</p>
  
  <pre><code>&lt;?php
  
  class Adept_Wallets_Model_Mysql4_Sellerrequest_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
  {
      public function _construct()
      {
          parent::_construct();
          $this-&gt;_init('wallets/sellerrequest', 'id');
      }
  }
  </code></pre>
  
  <p>I have checked various solutions on google as well but, I am not getting what I am doing wrong. 
  Same structure for the <code>wallets</code> table is working fine.</p>
  
  <p>Any help is highly Appreciated !!
  Thanks.</p>