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