ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/branches/goto_doctrine/lib/model/doctrine/base/BaseCommunityConfig.class.php @ 11208

Last change on this file since 11208 was 11208, checked in by ebihara, 13 years ago

#3765:removed propel-generated model files, setted doctrine's schema file and build doctrine model files

File size: 873 bytes
Line 
1<?php
2
3/**
4 * This class has been auto-generated by the Doctrine ORM Framework
5 */
6abstract class BaseCommunityConfig extends sfDoctrineRecord
7{
8  public function setTableDefinition()
9  {
10    $this->setTableName('community_config');
11    $this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'primary' => true, 'autoincrement' => true, 'length' => '4'));
12    $this->hasColumn('community_id', 'integer', 4, array('type' => 'integer', 'notnull' => true, 'length' => '4'));
13    $this->hasColumn('name', 'string', 64, array('type' => 'string', 'default' => '', 'notnull' => true, 'length' => '64'));
14    $this->hasColumn('value', 'string', 2147483647, array('type' => 'string', 'length' => '2147483647'));
15  }
16
17  public function setUp()
18  {
19    $this->hasOne('Community', array('local' => 'community_id',
20                                     'foreign' => 'id'));
21  }
22}
Note: See TracBrowser for help on using the repository browser.