thd/lib/model/doctrine/base/BaseThdVideo.class.php
changeset 104 8e4fe6f3337d
parent 103 d2af8a210f5d
child 105 c8f710cd1fb1
--- a/thd/lib/model/doctrine/base/BaseThdVideo.class.php	Wed Jun 01 14:07:43 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-<?php
-
-/**
- * This class has been auto-generated by the Doctrine ORM Framework
- */
-abstract class BaseThdVideo extends sfDoctrineRecord
-{
-    public function setTableDefinition()
-    {
-        $this->setTableName('thd_video');
-        $this->hasColumn('id', 'integer', 4, array(
-             'type' => 'integer',
-             'primary' => true,
-             'autoincrement' => true,
-             'length' => '4',
-             ));
-        $this->hasColumn('ref', 'integer', 4, array(
-             'type' => 'integer',
-             'notnull' => true,
-             'length' => '4',
-             ));
-        $this->hasColumn('film_ref', 'integer', 4, array(
-             'type' => 'integer',
-             'notnull' => true,
-             'length' => '4',
-             ));
-        $this->hasColumn('file', 'string', 255, array(
-             'type' => 'string',
-             'notnull' => true,
-             'length' => '255',
-             ));
-        $this->hasColumn('title', 'string', 255, array(
-             'type' => 'string',
-             'length' => '255',
-             ));
-    }
-
-    public function setUp()
-    {
-        $this->hasOne('ThdFilm', array(
-             'local' => 'film_ref',
-             'foreign' => 'ref'));
-
-        $this->hasMany('ThdSegment as segments', array(
-             'local' => 'ref',
-             'foreign' => 'video_ref'));
-    }
-}
\ No newline at end of file