2011-03-30 14:04:17 +00:00
|
|
|
<?php
|
|
|
|
Class rapport extends Doctrine_Record
|
|
|
|
{
|
|
|
|
function setTableDefinition()
|
|
|
|
{
|
2011-08-26 16:30:40 +00:00
|
|
|
$this->setTableName('rapports');
|
2011-03-30 14:04:17 +00:00
|
|
|
|
|
|
|
$this->hasColumn('RapportId', 'integer', 11, array('primary' => true,'notnull' => true));
|
2011-04-08 15:40:51 +00:00
|
|
|
$this->hasColumn('CompanyId', 'varchar', 255, array('notnull' => true));
|
2011-03-30 14:04:17 +00:00
|
|
|
$this->hasColumn('DataSetType', 'varchar', 50, array('notnull' => true));
|
|
|
|
$this->hasColumn('UrlObjectRapportFile', 'blob', null, array('notnull'=> true));
|
|
|
|
$this->hasColumn('DateTimeSave', 'date', null, array('notnull'=> true));
|
2011-04-07 15:26:55 +00:00
|
|
|
$this->hasColumn('Delivred', 'bool', null, array('notnull'=> true));
|
2011-03-30 14:04:17 +00:00
|
|
|
}
|
|
|
|
}
|