When i try baking with console ..
cake bake model
After choosing which table name and settings.. i got this error
Baking model class for Shop...
Creating file c:\xampp\htdocs\cakephp\app\Console\Model\Shop.php
Wrote `c:\xampp\htdocs\cakephp\app\Console\Model\Shop.php`
Fatal error: Class 'AppModel' not found in C:\xampp\htdocs\cakephp\lib\Cake\Model\CakeSchema.php on line 308
cake php version 2.1.3