1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/models/Data_File.php

11 lines
301 B
PHP

<?php
class Data_File extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('filename', 'string');
$this->hasColumn('file_owner_id', 'integer');
}
public function setUp() {
$this->hasOne('File_Owner', 'Data_File.file_owner_id');
}
}