<?php
if (!defined("ROOT_PATH"))
{
	header("HTTP/1.1 403 Forbidden");
	exit;
}
class pjListingAvailabilityModel extends pjAppModel
{
	protected $primaryKey = NULL;
	
	protected $table = 'listings_availabilities';
	
	protected $schema = array(
		array('name' => 'listing_id', 'type' => 'int', 'default' => ':NULL'),
		array('name' => 'month', 'type' => 'int', 'default' => ':NULL')
	);
	
	public static function factory($attr=array())
	{
		return new pjListingAvailabilityModel($attr);
	}
}
?>