]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - classes/Subscription.php
7d1881a3213f562eba4981e4554d24c86c9e02fc
[quix0rs-gnu-social.git] / classes / Subscription.php
1 <?php
2 if (!defined('MICROBLOG')) { exit(1) }
3 /**
4  * Table Definition for subscription
5  */
6 require_once 'DB/DataObject.php';
7
8 class Subscription extends DB_DataObject 
9 {
10     ###START_AUTOCODE
11     /* the code below is auto generated do not remove the above tag */
12
13     public $__table = 'subscription';                    // table name
14     public $subscriber;                      // int(4)  primary_key not_null
15     public $subscribed;                      // int(4)  primary_key not_null
16     public $token;                           // varchar(255)  
17     public $created;                         // datetime()   not_null
18     public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
19
20     /* Static get */
21     function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Subscription',$k,$v); }
22
23     /* the code above is auto generated do not remove the tag below */
24     ###END_AUTOCODE
25 }