<?php
global $runnerTableSettings;
$runnerTableSettings['app_permission'] = array(
	'name' => 'app_permission',
	'shortName' => 'app_permission',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'app_permission',
	'afterAddDetail' => 'app_permission',
	'detailsBadgeColor' => '8fbc8b',
	'sql' => 'SELECT
	id,
	permission_code,
	permission_name,
	suite_code,
	resource_name,
	action_code
FROM
	app_permission',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		),
		'permission_code' => array(
			'name' => 'permission_code',
			'goodName' => 'permission_code',
			'strField' => 'permission_code',
			'index' => 2,
			'sqlExpression' => 'permission_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		),
		'permission_name' => array(
			'name' => 'permission_name',
			'goodName' => 'permission_name',
			'strField' => 'permission_name',
			'index' => 3,
			'sqlExpression' => 'permission_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		),
		'suite_code' => array(
			'name' => 'suite_code',
			'goodName' => 'suite_code',
			'strField' => 'suite_code',
			'index' => 4,
			'sqlExpression' => 'suite_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		),
		'resource_name' => array(
			'name' => 'resource_name',
			'goodName' => 'resource_name',
			'strField' => 'resource_name',
			'index' => 5,
			'sqlExpression' => 'resource_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		),
		'action_code' => array(
			'name' => 'action_code',
			'goodName' => 'action_code',
			'strField' => 'action_code',
			'index' => 6,
			'sqlExpression' => 'action_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'app_permission' 
		) 
	),
	'detailsTables' => array( 
		'role_permission' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	permission_code,
	permission_name,
	suite_code,
	resource_name,
	action_code
FROM
	app_permission',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'permission_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'permission_code' 
				),
				'encrypted' => false,
				'columnName' => 'permission_code' 
			),
			array(
				'sql' => 'permission_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'permission_name' 
				),
				'encrypted' => false,
				'columnName' => 'permission_name' 
			),
			array(
				'sql' => 'suite_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'suite_code' 
				),
				'encrypted' => false,
				'columnName' => 'suite_code' 
			),
			array(
				'sql' => 'resource_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'resource_name' 
				),
				'encrypted' => false,
				'columnName' => 'resource_name' 
			),
			array(
				'sql' => 'action_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'app_permission',
					'name' => 'action_code' 
				),
				'encrypted' => false,
				'columnName' => 'action_code' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'app_permission',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'app_permission',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'permission_code',
						'permission_name',
						'suite_code',
						'resource_name',
						'action_code' 
					),
					'name' => 'app_permission' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	permission_code,
	permission_name,
	suite_code,
	resource_name,
	action_code',
		'fromListSql' => 'FROM
	app_permission',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'app_permission',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'permission_code',
			'permission_name',
			'suite_code',
			'resource_name',
			'action_code' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'permission_code',
			'permission_name',
			'suite_code',
			'resource_name',
			'action_code' 
		) 
	),
	'connId' => 'conn1',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['app_permission'] = array(
	'tableCaption' => 'App Permission',
	'fieldLabels' => array(
		'id' => 'Id',
		'permission_code' => 'Permission Code',
		'permission_name' => 'Permission Name',
		'suite_code' => 'Suite Code',
		'resource_name' => 'Resource Name',
		'action_code' => 'Action Code' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'permission_code' => '',
		'permission_name' => '',
		'suite_code' => '',
		'resource_name' => '',
		'action_code' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'permission_code' => '',
		'permission_name' => '',
		'suite_code' => '',
		'resource_name' => '',
		'action_code' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>