1
0
mirror of synced 2025-01-05 16:53:21 +03:00
doctrine2/website/lib/model/doctrine/sfGuardDoctrinePlugin/generated/BasesfGuardUserGroup.class.php
2007-08-31 23:41:48 +00:00

30 lines
770 B
PHP

<?php
/*
* Base class; DO NOT EDIT
*
* auto-generated by the sfDoctrine plugin
*/
class BasesfGuardUserGroup extends sfDoctrineRecord
{
public function setTableDefinition()
{
$this->setTableName('sf_guard_user_group');
$this->hasColumn('created_at', 'timestamp', null, array ());
$this->hasColumn('updated_at', 'timestamp', null, array ());
$this->hasColumn('group_id', 'integer', 4, array ( 'primary' => true,));
$this->hasColumn('user_id', 'integer', 4, array ( 'primary' => true,));
}
public function setUp()
{
$this->hasOne('sfGuardGroup as sfGuardGroup', array('local' => 'group_id', 'foreign' => 'id'));
$this->hasOne('sfGuardUser as sfGuardUser', array('local' => 'user_id', 'foreign' => 'id'));
}
}