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

source: OpenPNE3/branches/goto_doctrine/lib/model/doctrine/base/BaseFileBin.class.php @ 11219

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

#3765:imported new models for Doctrine from some old models for Propel to enable to login

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