Actions

Source Code of This Project

/lib/model/doctrine/base/BaseNewsCopy.class.php

<?php

/**
 * This class has been auto-generated by the Doctrine ORM Framework
 */
abstract class BaseNewsCopy extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('news_copy');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'unsigned' => '1',
             'primary' => true,
             'autoincrement' => true,
             'length' => '4',
             ));
        $this->hasColumn('news_providers_id', 'integer', 4, array(
             'type' => 'integer',
             'unsigned' => '1',
             'notnull' => true,
             'length' => '4',
             ));
        $this->hasColumn('description', 'string', null, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '',
             ));
        $this->hasColumn('hash', 'string', 32, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '32',
             ));
        $this->hasColumn('created_at', 'timestamp', 25, array(
             'type' => 'timestamp',
             'notnull' => true,
             'length' => '25',
             ));
        $this->hasColumn('title', 'string', 200, array(
             'type' => 'string',
             'length' => '200',
             ));
        $this->hasColumn('link', 'string', null, array(
             'type' => 'string',
             'length' => '',
             ));
        $this->hasColumn('updated_at', 'timestamp', 25, array(
             'type' => 'timestamp',
             'length' => '25',
             ));
    }

}