* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $ */ abstract class BaseCommandesTarifsWs extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('commandes_tarifs_ws'); $this->hasColumn('id', 'integer', 4, array( 'type' => 'integer', 'length' => 4, 'unsigned' => 0, 'primary' => true, 'autoincrement' => true, )); $this->hasColumn('type', 'string', 2, array( 'type' => 'string', 'length' => 2, 'fixed' => false, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('prix', 'float', null, array( 'type' => 'float', 'unsigned' => 0, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('annee', 'integer', 4, array( 'type' => 'integer', 'length' => 4, 'unsigned' => 0, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); } }