]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - classes/Message.php
3f01e3c8325db33ff5477c702b63003b9fad9710
[quix0rs-gnu-social.git] / classes / Message.php
1 <?php
2 /**
3  * Table Definition for message
4  */
5 require_once 'DB/DataObject.php';
6
7 class Message extends DB_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
12     public $__table = 'message';                         // table name
13     public $id;                              // int(4)  primary_key not_null
14     public $uri;                             // varchar(255)  unique_key
15     public $from_profile;                    // int(4)   not_null
16     public $to_profile;                      // int(4)   not_null
17     public $content;                         // varchar(140)  
18     public $rendered;                        // text()  
19     public $url;                             // varchar(255)  
20     public $created;                         // datetime()   not_null
21     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
22     public $source;                          // varchar(32)  
23
24     /* Static get */
25     function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Message',$k,$v); }
26
27     /* the code above is auto generated do not remove the tag below */
28     ###END_AUTOCODE
29 }