To create a new model stored in mysql, setup the database connection, create the table products and this class:

class Products extends Kwf_Model_Db
    protected $_table = 'products';

It is not required to specify the columns in any form, Kwf_Model will automatically fetch those for you.

Usually those files are put into models/ folder which is in include path by default.

then you can start working with the model:

$m = Kwf_Model_Abstract::getInstance('Products');

//get row and modify
$row = $m->getRow(1);
$row->name = 'foo';

//create row
$row = $m->createRow();
$row->name = 'bar';