summaryrefslogtreecommitdiff
path: root/classes/Profile.php
blob: d6535238ac9e9dd470e3cd80ba96b4e6d41ec4c9 (plain)
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
<?php
if (!defined('MICROBLOG')) { exit(1) }
/**
 * Table Definition for profile
 */
require_once 'DB/DataObject.php';

class Profile extends DB_DataObject 
{
    ###START_AUTOCODE
    /* the code below is auto generated do not remove the above tag */

    public $__table = 'profile';                         // table name
    public $id;                              // int(4)  primary_key not_null
    public $nickname;                        // varchar(64)   not_null
    public $fullname;                        // varchar(255)  
    public $profileurl;                      // varchar(255)  
    public $homepage;                        // varchar(255)  
    public $bio;                             // varchar(140)  
    public $location;                        // varchar(255)  
    public $created;                         // datetime()   not_null
    public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP

    /* Static get */
    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Profile',$k,$v); }

    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE
}