<?php
global $runnerTableSettings;
$runnerTableSettings['vw_user_tenants'] = array(
	'name' => 'vw_user_tenants',
	'shortName' => 'vw_user_tenants',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_user_tenants',
	'afterAddDetail' => 'vw_user_tenants',
	'detailsBadgeColor' => '8fbc8b',
	'sql' => 'SELECT
	membership_id,
	user_id,
	tenant_id,
	tenant_code,
	tenant_name,
	slug,
	tenant_status,
	role_code,
	is_owner,
	is_default_tenant,
	membership_status
FROM
	vw_user_tenants',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'membership_id' => array(
			'name' => 'membership_id',
			'goodName' => 'membership_id',
			'strField' => 'membership_id',
			'index' => 1,
			'type' => 20,
			'sqlExpression' => 'membership_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'user_id' => array(
			'name' => 'user_id',
			'goodName' => 'user_id',
			'strField' => 'user_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'tenant_id' => array(
			'name' => 'tenant_id',
			'goodName' => 'tenant_id',
			'strField' => 'tenant_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'tenant_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'tenant_code' => array(
			'name' => 'tenant_code',
			'goodName' => 'tenant_code',
			'strField' => 'tenant_code',
			'index' => 4,
			'sqlExpression' => 'tenant_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'tenant_name' => array(
			'name' => 'tenant_name',
			'goodName' => 'tenant_name',
			'strField' => 'tenant_name',
			'index' => 5,
			'sqlExpression' => 'tenant_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'slug' => array(
			'name' => 'slug',
			'goodName' => 'slug',
			'strField' => 'slug',
			'index' => 6,
			'sqlExpression' => 'slug',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'tenant_status' => array(
			'name' => 'tenant_status',
			'goodName' => 'tenant_status',
			'strField' => 'tenant_status',
			'index' => 7,
			'sqlExpression' => 'tenant_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'role_code' => array(
			'name' => 'role_code',
			'goodName' => 'role_code',
			'strField' => 'role_code',
			'index' => 8,
			'sqlExpression' => 'role_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'is_owner' => array(
			'name' => 'is_owner',
			'goodName' => 'is_owner',
			'strField' => 'is_owner',
			'index' => 9,
			'type' => 16,
			'sqlExpression' => 'is_owner',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'is_default_tenant' => array(
			'name' => 'is_default_tenant',
			'goodName' => 'is_default_tenant',
			'strField' => 'is_default_tenant',
			'index' => 10,
			'type' => 16,
			'sqlExpression' => 'is_default_tenant',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		),
		'membership_status' => array(
			'name' => 'membership_status',
			'goodName' => 'membership_status',
			'strField' => 'membership_status',
			'index' => 11,
			'sqlExpression' => 'membership_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_tenants' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	membership_id,
	user_id,
	tenant_id,
	tenant_code,
	tenant_name,
	slug,
	tenant_status,
	role_code,
	is_owner,
	is_default_tenant,
	membership_status
FROM
	vw_user_tenants',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'membership_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'membership_id' 
				),
				'encrypted' => false,
				'columnName' => 'membership_id' 
			),
			array(
				'sql' => 'user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'user_id' 
				),
				'encrypted' => false,
				'columnName' => 'user_id' 
			),
			array(
				'sql' => 'tenant_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'tenant_id' 
				),
				'encrypted' => false,
				'columnName' => 'tenant_id' 
			),
			array(
				'sql' => 'tenant_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'tenant_code' 
				),
				'encrypted' => false,
				'columnName' => 'tenant_code' 
			),
			array(
				'sql' => 'tenant_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'tenant_name' 
				),
				'encrypted' => false,
				'columnName' => 'tenant_name' 
			),
			array(
				'sql' => 'slug',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'slug' 
				),
				'encrypted' => false,
				'columnName' => 'slug' 
			),
			array(
				'sql' => 'tenant_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'tenant_status' 
				),
				'encrypted' => false,
				'columnName' => 'tenant_status' 
			),
			array(
				'sql' => 'role_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'role_code' 
				),
				'encrypted' => false,
				'columnName' => 'role_code' 
			),
			array(
				'sql' => 'is_owner',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'is_owner' 
				),
				'encrypted' => false,
				'columnName' => 'is_owner' 
			),
			array(
				'sql' => 'is_default_tenant',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'is_default_tenant' 
				),
				'encrypted' => false,
				'columnName' => 'is_default_tenant' 
			),
			array(
				'sql' => 'membership_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_tenants',
					'name' => 'membership_status' 
				),
				'encrypted' => false,
				'columnName' => 'membership_status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_user_tenants',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_user_tenants',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'membership_id',
						'user_id',
						'tenant_id',
						'tenant_code',
						'tenant_name',
						'slug',
						'tenant_status',
						'role_code',
						'is_owner',
						'is_default_tenant',
						'membership_status' 
					),
					'name' => 'vw_user_tenants' 
				),
				'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 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'membership_id,
	user_id,
	tenant_id,
	tenant_code,
	tenant_name,
	slug,
	tenant_status,
	role_code,
	is_owner,
	is_default_tenant,
	membership_status',
		'fromListSql' => 'FROM
	vw_user_tenants',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_user_tenants',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'membership_id',
			'user_id',
			'tenant_id',
			'tenant_code',
			'tenant_name',
			'slug',
			'tenant_status',
			'role_code',
			'is_owner',
			'is_default_tenant',
			'membership_status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'membership_id',
			'user_id',
			'tenant_id',
			'tenant_code',
			'tenant_name',
			'slug',
			'tenant_status',
			'role_code',
			'is_owner',
			'is_default_tenant',
			'membership_status' 
		) 
	),
	'connId' => 'conn',
	'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['vw_user_tenants'] = array(
	'tableCaption' => 'Vw User Tenants',
	'fieldLabels' => array(
		'membership_id' => 'Membership Id',
		'user_id' => 'User Id',
		'tenant_id' => 'Tenant Id',
		'tenant_code' => 'Tenant Code',
		'tenant_name' => 'Tenant Name',
		'slug' => 'Slug',
		'tenant_status' => 'Tenant Status',
		'role_code' => 'Role Code',
		'is_owner' => 'Is Owner',
		'is_default_tenant' => 'Is Default Tenant',
		'membership_status' => 'Membership Status' 
	),
	'fieldTooltips' => array(
		'membership_id' => '',
		'user_id' => '',
		'tenant_id' => '',
		'tenant_code' => '',
		'tenant_name' => '',
		'slug' => '',
		'tenant_status' => '',
		'role_code' => '',
		'is_owner' => '',
		'is_default_tenant' => '',
		'membership_status' => '' 
	),
	'fieldPlaceholders' => array(
		'membership_id' => '',
		'user_id' => '',
		'tenant_id' => '',
		'tenant_code' => '',
		'tenant_name' => '',
		'slug' => '',
		'tenant_status' => '',
		'role_code' => '',
		'is_owner' => '',
		'is_default_tenant' => '',
		'membership_status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>