<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('JOBEET_AFFILIATE', 'doctrine');

/**
 * BaseJOBEET_AFFILIATE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $url
 * @property string $email
 * @property string $token
 * @property boolean $is_active
 * @property timestamp $created_at
 * @property timestamp $updated_at
 * 
 * @method integer          getId()         Returns the current record's "id" value
 * @method string           getUrl()        Returns the current record's "url" value
 * @method string           getEmail()      Returns the current record's "email" value
 * @method string           getToken()      Returns the current record's "token" value
 * @method boolean          getIsActive()   Returns the current record's "is_active" value
 * @method timestamp        getCreatedAt()  Returns the current record's "created_at" value
 * @method timestamp        getUpdatedAt()  Returns the current record's "updated_at" value
 * @method JOBEET_AFFILIATE setId()         Sets the current record's "id" value
 * @method JOBEET_AFFILIATE setUrl()        Sets the current record's "url" value
 * @method JOBEET_AFFILIATE setEmail()      Sets the current record's "email" value
 * @method JOBEET_AFFILIATE setToken()      Sets the current record's "token" value
 * @method JOBEET_AFFILIATE setIsActive()   Sets the current record's "is_active" value
 * @method JOBEET_AFFILIATE setCreatedAt()  Sets the current record's "created_at" value
 * @method JOBEET_AFFILIATE setUpdatedAt()  Sets the current record's "updated_at" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseJOBEET_AFFILIATE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('JOBEET_AFFILIATE');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('url', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('email', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('token', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('is_active', 'boolean', 1, array(
             'notnull' => true,
             'type' => 'boolean',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('created_at', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('updated_at', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}