<?php

/* * *******************************************************************************
 * SugarCRM is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 *
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 *
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 * ****************************************************************************** */
$dictionary['EcmWorker'] = array(
	'table' => 'ecmworkers',
	'audited' => true,
	'fields' => array(
		'first_name' => array(
			'name' => 'first_name',
			'vname' => 'LBL_FIRST_NAME',
			'type' => 'varchar',
			'len' => '100',
			'unified_search' => true,
			'comment' => 'First name of the contact',
			'merge_filter' => 'selected',
			'required' => true,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'second_name' => array(
			'required' => false,
			'name' => 'second_name',
			'vname' => 'LBL_SECOND_NAME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '100',
			'size' => '20',
		),
		'last_name' => array(
			'name' => 'last_name',
			'vname' => 'LBL_LAST_NAME',
			'type' => 'varchar',
			'len' => '100',
			'unified_search' => true,
			'comment' => 'Last name of the contact',
			'merge_filter' => 'selected',
			'required' => true,
			'importable' => 'required',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'birthday' => array(
			'required' => false,
			'name' => 'birthday',
			'vname' => 'LBL_BIRTHDAY',
			'type' => 'date',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'birth_place' => array(
			'required' => false,
			'name' => 'birth_place',
			'vname' => 'LBL_BIRTH_PLACE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'pesel' => array(
			'required' => false,
			'name' => 'pesel',
			'vname' => 'LBL_PESEL',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'marital_status' => array(
			'required' => false,
			'name' => 'marital_status',
			'vname' => 'LBL_MARITAL_STATUS',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'gender' => array(
			'required' => false,
			'name' => 'gender',
			'vname' => 'LBL_GENDER',
			'type' => 'enum',
			'len' => '25',
			'options' => 'gender_list',
			'reportable' => false,
		),
		'citizenship' => array(
			'required' => false,
			'name' => 'citizenship',
			'vname' => 'LBL_CITIZENSHIP',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'nationality' => array(
			'required' => false,
			'name' => 'nationality',
			'vname' => 'LBL_NATIONALITY',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'id_card_number' => array(
			'required' => false,
			'name' => 'id_card_number',
			'vname' => 'LBL_ID_CARD_NUMBER',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'id_card_issued' => array(
			'required' => false,
			'name' => 'id_card_issued',
			'vname' => 'LBL_ID_CARD_ISSUED',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'id_card_date' => array(
			'required' => false,
			'name' => 'id_card_date',
			'vname' => 'LBL_ID_CARD_DATE',
			'type' => 'date',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
// Adres zamieszkania
		'primary_address_country' => array(
			'name' => 'primary_address_country',
			'vname' => 'LBL_PRIMARY_ADDRESS_COUNTRY',
			'type' => 'varchar',
			'group' => 'primary_address',
			'comment' => 'Country for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'primary_address_state' => array(
			'name' => 'primary_address_state',
			'vname' => 'LBL_PRIMARY_ADDRESS_STATE',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'primary_address',
			'comment' => 'State for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_address_community' => array(
			'name' => 'primary_address_community',
			'vname' => 'LBL_PRIMARY_ADDRESS_COMMUNITY',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'primary_address',
			'comment' => 'City for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_address_district' => array(
			'name' => 'primary_address_district',
			'vname' => 'LBL_PRIMARY_ADDRESS_DISTRICT',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'primary_address',
			'comment' => 'City for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_address_city' => array(
			'name' => 'primary_address_city',
			'vname' => 'LBL_PRIMARY_ADDRESS_CITY',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'primary_address',
			'comment' => 'City for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_address_postalcode' => array(
			'name' => 'primary_address_postalcode',
			'vname' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
			'type' => 'varchar',
			'len' => '20',
			'group' => 'primary_address',
			'comment' => 'Postal code for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_address_street' => array(
			'name' => 'primary_address_street',
			'vname' => 'LBL_PRIMARY_ADDRESS_STREET',
			'type' => 'varchar',
			'len' => '150',
			'group' => 'primary_address',
			'comment' => 'Street address for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'primary_mail' => array(
			'required' => false,
			'name' => 'primary_mail',
			'vname' => 'LBL_PRIMARY_MAIL',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'primary_address',
			'comment' => 'State for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
//Adres korespodencyjny
		'alt_address_country' => array(
			'name' => 'alt_address_country',
			'vname' => 'LBL_ALT_ADDRESS_COUNTRY',
			'type' => 'varchar',
			'group' => 'alt_address',
			'comment' => 'Country for alternate address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'alt_address_state' => array(
			'name' => 'alt_address_state',
			'vname' => 'LBL_ALT_ADDRESS_STATE',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'alt_address',
			'comment' => 'State for alternate address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_address_community' => array(
			'name' => 'alt_address_community',
			'vname' => 'LBL_ALT_ADDRESS_COMMUNITY',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'alt_address',
			'comment' => 'City for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_address_district' => array(
			'name' => 'alt_address_district',
			'vname' => 'LBL_ALT_ADDRESS_DISTRICT',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'alt_address',
			'comment' => 'City for primary address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_address_city' => array(
			'name' => 'alt_address_city',
			'vname' => 'LBL_ALT_ADDRESS_CITY',
			'type' => 'varchar',
			'len' => '100',
			'group' => 'alt_address',
			'comment' => 'City for alternate address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_address_postalcode' => array(
			'name' => 'alt_address_postalcode',
			'vname' => 'LBL_ALT_ADDRESS_POSTALCODE',
			'type' => 'varchar',
			'len' => '20',
			'group' => 'alt_address',
			'comment' => 'Postal code for alternate address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_address_street' => array(
			'name' => 'alt_address_street',
			'vname' => 'LBL_ALT_ADDRESS_STREET',
			'type' => 'varchar',
			'len' => '150',
			'group' => 'alt_address',
			'comment' => 'Street address for alternate address',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'alt_mail' => array(
			'required' => false,
			'name' => 'alt_mail',
			'vname' => 'LBL_ALT_MAIL',
			'type' => 'varchar',
			'massupdate' => 0,
			'group' => 'alt_address',
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// Dane kontaktowe
		'phone_home' => array(
			'name' => 'phone_home',
			'vname' => 'LBL_HOME_PHONE',
			'type' => 'phone',
			'dbType' => 'varchar',
			'len' => '25',
			'unified_search' => true,
			'comment' => 'Home phone number of the contact',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'phone_mobile' => array(
			'name' => 'phone_mobile',
			'vname' => 'LBL_MOBILE_PHONE',
			'type' => 'phone',
			'dbType' => 'varchar',
			'len' => '25',
			'unified_search' => true,
			'comment' => 'Mobile phone number of the contact',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'size' => '20',
		),
		'phone_work' => array(
			'name' => 'phone_work',
			'vname' => 'LBL_OFFICE_PHONE',
			'type' => 'phone',
			'dbType' => 'varchar',
			'len' => '25',
			'audited' => true,
			'unified_search' => true,
			'comment' => 'Work phone number of the contact',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'reportable' => true,
			'size' => '20',
		),
		'email1' => array(
			'name' => 'email1',
			'vname' => 'LBL_EMAIL_ADDRESS',
			'type' => 'varchar',
			'dbtype' => 'varchar',
			'merge_filter' => 'enabled',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'email2' => array(
			'name' => 'email2',
			'vname' => 'LBL_OTHER_EMAIL_ADDRESS',
			'type' => 'varchar',
			'dbtype' => 'varchar',
			'merge_filter' => 'enabled',
			'studio' => 'false',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'phone_fax' => array(
			'name' => 'phone_fax',
			'vname' => 'LBL_PHONE_FAX',
			'type' => 'varchar',
			'dbtype' => 'varchar',
			'merge_filter' => 'enabled',
			'studio' => 'false',
			'required' => false,
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// praca
		'inland_revenue' => array(
			'required' => false,
			'name' => 'inland_revenue',
			'vname' => 'LBL_INLAND_REVENUE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'health_insurance' => array(
			'required' => false,
			'name' => 'health_insurance',
			'vname' => 'LBL_HEALTH_INSURANCE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'account_ledger' => array(
			'required' => false,
			'name' => 'account_ledger',
			'vname' => 'LBL_ACCOUNT_LEDGER',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'position_office' => array(
			'required' => false,
			'name' => 'position_office',
			'vname' => 'LBL_POSITION_OFFICE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'department' => array(
			'required' => false,
			'name' => 'department',
			'vname' => 'LBL_DEPARTMENT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'cost' => array(
			'required' => false,
			'name' => 'cost',
			'vname' => 'LBL_COST',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'base_salary' => array(
			'required' => false,
			'name' => 'base_salary',
			'vname' => 'LBL_BASE_SALARY',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'form_employment' => array(
			'required' => false,
			'name' => 'form_employment',
			'vname' => 'LBL_FORM_EMPLOYMENT',
		    'type' => 'enum',
		    'options' => 'form_employment_dom',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
		),
		'date_employment' => array(
			'required' => false,
			'name' => 'date_employment',
			'vname' => 'LBL_DATE_EMPLOYMENT',
			'type' => 'date',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'date_employment_to' => array(
			'required' => false,
			'name' => 'date_employment_to',
			'vname' => 'LBL_DATE_EMPLOYMENT_TO',
			'type' => 'date',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'date_internship' => array(
			'required' => false,
			'name' => 'date_internship',
			'vname' => 'LBL_DATE_INTERNSHIP',
			'type' => 'date',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'employment' => array(
			'required' => false,
			'name' => 'employment',
			'vname' => 'LBL_EMPLOYMENT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_group' => array(
			'required' => false,
			'name' => 'zus_group',
			'vname' => 'LBL_ZUS_GROUP',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// Wykształcenie
		'education' => array(
			'required' => false,
			'name' => 'education',
			'vname' => 'LBL_EDUCATION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'school_completed' => array(
			'required' => false,
			'name' => 'school_completed',
			'vname' => 'LBL_SCHOOL_COMPLETED',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// inne
		'registration_number' => array(
			'required' => false,
			'name' => 'registration_number',
			'vname' => 'LBL_REGISTRATION_NUMBER',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// Informacje o rodzinie
		'father_name' => array(
			'required' => false,
			'name' => 'father_name',
			'vname' => 'LBL_FATHER_NAME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'mother_name' => array(
			'required' => false,
			'name' => 'mother_name',
			'vname' => 'LBL_MOTHER_NAME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
	        'tasks' => array (
	                'name' => 'tasks',
	                'type' => 'link',
	                'relationship' => 'ecmworker_tasks',
	                'module' => 'Tasks',
	                'bean_name' => 'Task',
	                'source' => 'non-db',
	                'vname' => 'LBL_TASKS'
	        ),
		'spouse_name' => array(
			'required' => false,
			'name' => 'spouse_name',
			'vname' => 'LBL_SPOUSE_NAME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'family_name' => array(
			'required' => false,
			'name' => 'family_name',
			'vname' => 'LBL_FAMILY_NAME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
// ZUS
		'permanent_residence_card' => array(
			'required' => false,
			'name' => 'permanent_residence_card',
			'vname' => 'LBL_PERNAMENT_RESIDENCE_CARD',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'temporary_residence_card' => array(
			'required' => false,
			'name' => 'temporary_residence_card',
			'vname' => 'LBL_TEMPORARY_RESIDENCE_CARD',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'insurance_code' => array(
			'required' => false,
			'name' => 'insurance_code',
			'vname' => 'LBL_INSURANCE_CODE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'period_of_disability_from' => array(
			'required' => false,
			'name' => 'period_of_disability_from',
			'vname' => 'LBL_PERIOD_OF_DISABILITY_FROM',
			'type' => 'date',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'period_of_disability_to' => array(
			'required' => false,
			'name' => 'period_of_disability_to',
			'vname' => 'LBL_PERIOD_OF_DISABILITY_TO',
			'type' => 'date',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'working_time' => array(
			'required' => false,
			'name' => 'working_time',
			'vname' => 'LBL_WORKING_TIME',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'date_insurance' => array(
			'name' => 'date_insurance',
			'vname' => 'LBL_DATE_INSURANCE',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'retirement' => array(
			'required' => false,
			'name' => 'retirement',
			'vname' => 'LBL_RETIREMENT',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'form_dismissal' => array(
			'required' => false,
			'name' => 'form_dismissal',
			'vname' => 'LBL_FORM_DISMISSAL',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'sickness' => array(
			'required' => false,
			'name' => 'sickness',
			'vname' => 'LBL_SICKNESS',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'disability' => array(
			'required' => false,
			'name' => 'disability',
			'vname' => 'LBL_DISABILITY',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'accidental' => array(
			'required' => false,
			'name' => 'accidental',
			'vname' => 'LBL_ACCIDENTAL',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'date_obligation' => array(
			'name' => 'date_obligation',
			'vname' => 'LBL_DATE_OBLIGATION',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'date_sickness' => array(
			'name' => 'date_sickness',
			'vname' => 'LBL_DATE_SICKNESS',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'date_commencement' => array(
			'name' => 'date_commencement',
			'vname' => 'LBL_DATE_COMMENCEMENT',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'date_dismissal' => array(
			'name' => 'date_dismissal',
			'vname' => 'LBL_DATE_DISMISSAL',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'date_graduation' => array(
			'name' => 'date_graduation',
			'vname' => 'LBL_DATE_GRADUATION',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'date_retirement' => array(
			'name' => 'date_retirement',
			'vname' => 'LBL_DATE_RETIREMENT',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'employee_group' => array(
			'required' => false,
			'name' => 'employee_group',
			'vname' => 'LBL_EMPLOYEE_GROUP',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'work_schedule' => array(
			'required' => false,
			'name' => 'work_schedule',
			'vname' => 'LBL_WORK_SCHEDULE',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'code_relationship' => array(
			'required' => false,
			'name' => 'code_relationship',
			'vname' => 'LBL_CODE_RELATIONSHIP',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'code_education' => array(
			'required' => false,
			'name' => 'code_education',
			'vname' => 'LBL_CODE_EDUCATION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'code_deregistration' => array(
			'required' => false,
			'name' => 'code_deregistration',
			'vname' => 'LBL_CODE_DEREGISTRATION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'code_profession' => array(
			'required' => false,
			'name' => 'code_profession',
			'vname' => 'LBL_CODE_PROFESSION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'amount_contributions' => array(
			'required' => false,
			'name' => 'amount_contributions',
			'vname' => 'LBL_AMOUNT_CONTRIBUTIONS',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'name_bank' => array(
			'required' => false,
			'name' => 'name_bank',
			'vname' => 'LBL_NAME_BANK',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'bank_account_number' => array(
			'required' => false,
			'name' => 'bank_account_number',
			'vname' => 'LBL_BANK_ACCOUNT_NUMBER',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '40',
		),
		'dismissal_reason' => array(
			'required' => false,
			'name' => 'dismissal_reason',
			'vname' => 'LBL_DISMISSAL_REASON',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'bank_account' => array(
			'required' => false,
			'name' => 'bank_account',
			'vname' => 'LBL_BANK_ACCOUNT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'debtors_account' => array(
			'required' => false,
			'name' => 'debtors_account',
			'vname' => 'LBL_DEBTORS_ACCOUNT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_date_disability' => array(
			'name' => 'zus_date_disability',
			'vname' => 'LBL_ZUS_DATE_DISABILITY',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_annual_amount' => array(
			'required' => false,
			'name' => 'zus_annual_amount',
			'vname' => 'LBL_ZUS_ANNUAL_AMOUNT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_annual_base' => array(
			'required' => false,
			'name' => 'zus_annual_base',
			'vname' => 'LBL_ZUS_ANNUAL_BASE',
			'type' => 'enum',
			'len' => '25',
			'options' => 'ecmworkers_zus_annual_base_dom',
			'reportable' => false,
		),
		'person_id_series_number' => array(
			'required' => false,
			'name' => 'person_id_series_number',
			'vname' => 'LBL_PERSON_ID_SERIES_NUMBER',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'person_relief' => array(
			'required' => false,
			'name' => 'person_relief',
			'vname' => 'LBL_PERSON_RELIEF',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'person_child_tax_credit' => array(
			'required' => false,
			'name' => 'person_child_tax_credit',
			'vname' => 'LBL_PERSON_CHILD_TAX_CREDIT',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_common_household_employer' => array(
			'required' => false,
			'name' => 'zus_common_household_employer',
			'vname' => 'LBL_ZUS_COMMON_HOUSEHOLD_EMPLOYER',
			'type' => 'bool',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
		),
		'person_current_profession' => array(
			'required' => false,
			'name' => 'person_current_profession',
			'vname' => 'LBL_PERSON_CURRENT_PROFESSION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'person_learned_profession' => array(
			'required' => false,
			'name' => 'person_learned_profession',
			'vname' => 'LBL_PERSON_LEARNED_PROFESSION',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_code_discrepancies' => array(
			'required' => false,
			'name' => 'zus_code_discrepancies',
			'vname' => 'LBL_ZUS_CODE_DISCREPANCIES',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_date_discrepancies_from' => array(
			'name' => 'zus_date_discrepancies_from',
			'vname' => 'LBL_ZUS_DATE_DISCREPANCIES_FROM',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_date_discrepancies_to' => array(
			'name' => 'zus_date_discrepancies_to',
			'vname' => 'LBL_ZUS_DATE_DISCREPANCIES_TO',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_code_mining_work' => array(
			'required' => false,
			'name' => 'zus_code_mining_work',
			'vname' => 'LBL_ZUS_CODE_MINING_WORK',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_date_mining_work_from' => array(
			'name' => 'zus_date_mining_work_from',
			'vname' => 'LBL_ZUS_DATE_MINING_WORK_FROM',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_date_mining_work_to' => array(
			'name' => 'zus_date_mining_work_to',
			'vname' => 'LBL_ZUS_DATE_MINING_WORK_TO',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_code_charity_work' => array(
			'required' => false,
			'name' => 'zus_code_charity_work',
			'vname' => 'LBL_ZUS_CODE_CHARITY_WORK',
			'type' => 'varchar',
			'massupdate' => 0,
			'comments' => '',
			'help' => '',
			'importable' => 'true',
			'duplicate_merge' => 'disabled',
			'duplicate_merge_dom_value' => '0',
			'audited' => true,
			'reportable' => true,
			'len' => '255',
			'size' => '20',
		),
		'zus_date_charity_work_from' => array(
			'name' => 'zus_date_charity_work_from',
			'vname' => 'LBL_ZUS_DATE_CHARITY_WORK_FROM',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'zus_date_charity_work_to' => array(
			'name' => 'zus_date_charity_work_to',
			'vname' => 'LBL_ZUS_DATE_CHARITY_WORK_TO',
			'type' => 'date',
			'reportable' => false,
			'showFormats' => true,
			'massupdate' => false,
			'required' => false,
		),
		'active' => array(
			'required' => false,
			'name' => 'active',
			'vname' => 'LBL_ACTIVE',
			'type' => 'enum',
			'len' => '25',
			'options' => 'dom_int_bool',
			'reportable' => false,
		),
		'ecmprivatedocuments' => array(
			'name' => 'ecmprivatedocuments',
			'type' => 'link',
			'relationship' => 'ecmworkers_ecmprivatedocuments',
			'source' => 'non-db',
			'vname' => 'LBL_ECMPRIVATEDOCUMENTS',
		),
	),
	'relationships' => array(
		'ecmworkers_ecmprivatedocuments' => array(
			'lhs_module' => 'EcmWorkers',
			'lhs_table' => 'ecmworkers',
			'lhs_key' => 'id',
			'rhs_module' => 'EcmPrivateDocuments',
			'rhs_table' => 'ecmprivatedocuments',
			'rhs_key' => 'parent_id',
			'relationship_type' => 'one-to-many',
		//'relationship_role_column' => 'parent_type',
		//'relationship_role_column_value' => 'EcmPrivateDocuments',
		),
	        'ecmworker_tasks' => array (
	                'lhs_module' => 'EcmWorkers',
	                'lhs_table' => 'ecmworkers',
	                'lhs_key' => 'id',
	                'rhs_module' => 'Tasks',
	                'rhs_table' => 'tasks',
	                'rhs_key' => 'record_id',
	                'relationship_type' => 'one-to-many',
	                'relationship_role_column' => 'record_type',
	                'relationship_role_column_value' => 'EcmWorkers',
	            
	        ),
	),
	'optimistic_locking' => true,
);
if (!class_exists('VardefManager')) {
	require_once('include/SugarObjects/VardefManager.php');
}
VardefManager::createVardef('EcmWorkers', 'EcmWorker', array('default'));
