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

/**
 * BaseJOBEET_JOB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $category_id
 * @property string $type
 * @property string $company
 * @property string $logo
 * @property string $url
 * @property string $position
 * @property string $location
 * @property string $description
 * @property string $how_to_apply
 * @property string $token
 * @property boolean $is_public
 * @property boolean $is_activated
 * @property string $email
 * @property timestamp $expires_at
 * @property timestamp $created_at
 * @property timestamp $updated_at
 * 
 * @method integer    getId()           Returns the current record's "id" value
 * @method integer    getCategoryId()   Returns the current record's "category_id" value
 * @method string     getType()         Returns the current record's "type" value
 * @method string     getCompany()      Returns the current record's "company" value
 * @method string     getLogo()         Returns the current record's "logo" value
 * @method string     getUrl()          Returns the current record's "url" value
 * @method string     getPosition()     Returns the current record's "position" value
 * @method string     getLocation()     Returns the current record's "location" value
 * @method string     getDescription()  Returns the current record's "description" value
 * @method string     getHowToApply()   Returns the current record's "how_to_apply" value
 * @method string     getToken()        Returns the current record's "token" value
 * @method boolean    getIsPublic()     Returns the current record's "is_public" value
 * @method boolean    getIsActivated()  Returns the current record's "is_activated" value
 * @method string     getEmail()        Returns the current record's "email" value
 * @method timestamp  getExpiresAt()    Returns the current record's "expires_at" 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_JOB setId()           Sets the current record's "id" value
 * @method JOBEET_JOB setCategoryId()   Sets the current record's "category_id" value
 * @method JOBEET_JOB setType()         Sets the current record's "type" value
 * @method JOBEET_JOB setCompany()      Sets the current record's "company" value
 * @method JOBEET_JOB setLogo()         Sets the current record's "logo" value
 * @method JOBEET_JOB setUrl()          Sets the current record's "url" value
 * @method JOBEET_JOB setPosition()     Sets the current record's "position" value
 * @method JOBEET_JOB setLocation()     Sets the current record's "location" value
 * @method JOBEET_JOB setDescription()  Sets the current record's "description" value
 * @method JOBEET_JOB setHowToApply()   Sets the current record's "how_to_apply" value
 * @method JOBEET_JOB setToken()        Sets the current record's "token" value
 * @method JOBEET_JOB setIsPublic()     Sets the current record's "is_public" value
 * @method JOBEET_JOB setIsActivated()  Sets the current record's "is_activated" value
 * @method JOBEET_JOB setEmail()        Sets the current record's "email" value
 * @method JOBEET_JOB setExpiresAt()    Sets the current record's "expires_at" value
 * @method JOBEET_JOB setCreatedAt()    Sets the current record's "created_at" value
 * @method JOBEET_JOB 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_JOB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('JOBEET_JOB');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('category_id', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('type', 'string', 255, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('company', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('logo', 'string', 255, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('url', 'string', 255, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('position', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('location', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('description', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('how_to_apply', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('token', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('is_public', 'boolean', 1, array(
             'notnull' => true,
             'type' => 'boolean',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('is_activated', 'boolean', 1, array(
             'notnull' => true,
             'type' => 'boolean',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('email', 'string', 255, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('expires_at', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $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();
        
    }
}