<?php

/**
 * BaseCallback
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $name
 * @property string $phone
 * @property boolean $is_done
 * @property text $offer_id
 * 
 * @method string   getName()     Returns the current record's "name" value
 * @method string   getPhone()    Returns the current record's "phone" value
 * @method boolean  getIsDone()   Returns the current record's "is_done" value
 * @method text     getOfferId()  Returns the current record's "offer_id" value
 * @method Callback setName()     Sets the current record's "name" value
 * @method Callback setPhone()    Sets the current record's "phone" value
 * @method Callback setIsDone()   Sets the current record's "is_done" value
 * @method Callback setOfferId()  Sets the current record's "offer_id" value
 * 
 * @package    sf
 * @subpackage model
 * @author     Atma
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCallback extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('callback');
        $this->hasColumn('name', 'string', 255, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 255,
             ));
        $this->hasColumn('phone', 'string', 255, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 255,
             ));
        $this->hasColumn('is_done', 'boolean', null, array(
             'type' => 'boolean',
             'notnull' => true,
             'default' => false,
             ));
        $this->hasColumn('offer_id', 'text', null, array(
             'type' => 'text',
             'notnull' => false,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $timestampable0 = new Doctrine_Template_Timestampable();
        $this->actAs($timestampable0);
    }
}