1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/ResourceTask.php

11 lines
316 B
PHP
Raw Normal View History

<?php
class Resource extends Doctrine_Record {
public function setUp() {
$this->hasMany('Task as TaskAlias', 'Assignment.task_id');
$this->hasMany('ResourceType as Type', 'ResourceReference.type_id');
}
public function setTableDefinition() {
$this->hasColumn('name', 'string',100);
}
}