<?

require_once ('DBTable.php');
require_once ('BasicEnum.php');

final class User extends DBTable
{

	public $__TABLE = 'Users';
	public static $__COLUMNS = array(
						'id' 								=> '',
						'name' 							=> '',
						'division' 					=> 1,
						'lang_id' 					=> 1,
						'auth_id' 					=> '',
						'dept_id' 					=> '',
						'dept_division'			=> 1,
						'timezone' 					=> 0,
						'period_from' 			=> 0,
						'period_to' 				=> 0,
						'create_dt' 				=> '',
						'create_user_id' 		=> 0,
						'update_dt' 				=> '',
						'update_user_id' 		=> 0,
					);

}


abstract class UserType extends BasicEnum {
  const ADMIN = 1;
  const SUPERVISOR = 2;
  const EMPLOYEE = 3;
}
