<?php

if (!defined("ROOT_PATH"))

{

	header("HTTP/1.1 403 Forbidden");

	exit;

}

class pjCalendarUserModel extends pjAppModel

{

	protected $primaryKey = null;



	protected $table = 'calendars_users';



	protected $schema = array(

		array('name' => 'calendar_id', 'type' => 'int', 'default' => ':NULL'),

		array('name' => 'user_id', 'type' => 'int', 'default' => ':NULL'),

		array('name' => 'room_notes', 'type' => 'text', 'default' => ':NULL')

	);

	

	public static function factory($attr=array())

	{

		return new pjCalendarUserModel($attr);

	}

}

?>