15 lines
608 B
PHP
15 lines
608 B
PHP
<?php
|
|
Class rapport extends Doctrine_Record
|
|
{
|
|
function setTableDefinition()
|
|
{
|
|
$this->setTableName('rapports');
|
|
|
|
$this->hasColumn('RapportId', 'integer', 11, array('primary' => true,'notnull' => true));
|
|
$this->hasColumn('CompanyId', 'varchar', 255, array('notnull' => true));
|
|
$this->hasColumn('DataSetType', 'varchar', 50, array('notnull' => true));
|
|
$this->hasColumn('UrlObjectRapportFile', 'blob', null, array('notnull'=> true));
|
|
$this->hasColumn('DateTimeSave', 'date', null, array('notnull'=> true));
|
|
$this->hasColumn('Delivred', 'bool', null, array('notnull'=> true));
|
|
}
|
|
} |