forked from GNUsocial/gnu-social
		
	
		
			
	
	
		
			25 lines
		
	
	
		
			900 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			900 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Table Definition for notice_source
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								require_once 'DB/DataObject.php';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Notice_source extends DB_DataObject 
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    ###START_AUTOCODE
							 | 
						||
| 
								 | 
							
								    /* the code below is auto generated do not remove the above tag */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    public $__table = 'notice_source';                   // table name
							 | 
						||
| 
								 | 
							
								    public $code;                            // varchar(8)  primary_key not_null
							 | 
						||
| 
								 | 
							
								    public $name;                            // varchar(255)   not_null
							 | 
						||
| 
								 | 
							
								    public $url;                             // varchar(255)   not_null
							 | 
						||
| 
								 | 
							
								    public $created;                         // datetime()   not_null
							 | 
						||
| 
								 | 
							
								    public $modified;                        // timestamp()   not_null default_CURRENT_TIMESTAMP
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /* Static get */
							 | 
						||
| 
								 | 
							
								    function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Notice_source',$k,$v); }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /* the code above is auto generated do not remove the tag below */
							 | 
						||
| 
								 | 
							
								    ###END_AUTOCODE
							 | 
						||
| 
								 | 
							
								}
							 |