BaseUserPermissions.class.php 1.19 KB
Newer Older
Игорь's avatar
init    
Игорь committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php

/**
 * BaseUserPermissions
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $user_id
 * @property integer $permission_id
 * 
 * @method integer         getUserId()        Returns the current record's "user_id" value
 * @method integer         getPermissionId()  Returns the current record's "permission_id" value
 * @method UserPermissions setUserId()        Sets the current record's "user_id" value
 * @method UserPermissions setPermissionId()  Sets the current record's "permission_id" value
 * 
 * @package    sf
 * @subpackage model
 * @author     Atma
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseUserPermissions extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('user_permissions');
        $this->hasColumn('user_id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             ));
        $this->hasColumn('permission_id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}