1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Composite.php

9 lines
237 B
PHP
Raw Normal View History

2006-08-07 00:46:12 +04:00
<?php
class Groupuser extends Doctrine_Record {
public function setTableDefinition() {
2007-02-06 17:39:47 +03:00
$this->hasColumn("user_id", "integer", 20, "primary");
2006-08-07 00:46:12 +04:00
$this->hasColumn("group_id", "integer", 20, "primary");
}
}
?>