{
	"name": "table/manager/resource/resource.json",
	"table_name": "resource",
	"table_prefix": "res",
	"record_type": ["resource"],
	"default_order": [
		{
			"field": "resource_id",
			"order": ">"
		}
	],
	"save_script": [],
	"field": [
		{
			"field_length": 40,
			"field_name": "cell_resource_id",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "resource_id",
					"linked_record_type": "",
					"linked_table": "resource",
					"linking_record_type": ""
				}
			]
		},
		{
			"field_length": 80,
			"field_name": "default_foreman_id",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "person_id",
					"linked_record_type": "",
					"linked_table": "person",
					"linking_record_type": ""
				}
			]
		},
		{
			"field_name": "description"
		},
		{
			"field_name": "info"
		},
		{
			"field_name": "profit_multiplier"
		},
		{
			"field_length": 20,
			"field_name": "record_type"
		},
		{
			"constraint": ["primary key", "unique"],
			"field_length": 40,
			"field_name": "resource_id"
		},
		{
			"field_length": 120,
			"field_name": "resource_name"
		},
		{
			"field_length": 20,
			"field_name": "resource_state"
		},
		{
			"field_length": 20,
			"field_name": "resource_type"
		},
		{
			"field_name": "setup_hourly_salary"
		},
		{
			"field_name": "setup_hourly_self_cost"
		},
		{
			"field_length": 40,
			"field_name": "subcontractor_id",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "company_id",
					"linked_record_type": "",
					"linked_table": "company",
					"linking_record_type": ""
				}
			]
		},
		{
			"field_name": "work_hourly_salary"
		},
		{
			"field_name": "work_hourly_self_cost"
		}
	],
	"extra_field": [
		{
			"field_length": 120,
			"field_name": "json_data.transfer_id"
		},
		{
			"field_name": "json_data.worker_capacity__shift"
		},
		{
			"field_name": "json_data.allowed_open_phases"
		},
		{
			"field_length": 80,
			"field_name": "json_data.customer_project"
		},
		{
			"field_name": "json_data.loading_level"
		},
		{
			"field_name": "json_data.target_time_setup_time"
		},
		{
			"field_name": "json_data.firm_id"
		},
		{
			"field_name": "json_data.machine_data_path"
		},
		{
			"field_name": "json_data.machine_speed"
		},
		{
			"field_name": "json_data.use_realtime_receipt"
		},
		{
			"field_name": "json_data.target_time_extra_percent"
		},
		{
			"field_name": "json_data.minimum_work_time"
		},
		{
			"field_name": "json_data.follow_work_progression"
		},
		{
			"field_name": "json_data.load_efficiency_multiplier"
		},
		{
			"field_name": "json_data.setup_price"
		},
		{
			"field_name": "json_data.default_work_time"
		},
		{
			"field_name": "json_data.monthly_pre_maint_week"
		},
		{
			"field_length": 80,
			"field_name": "json_data.work_calendar"
		},
		{
			"field_name": "json_data.extra_time"
		},
		{
			"field_name": "json_data.weekly_pre_maint_day"
		},
		{
			"field_name": "json_data.calculate_target_time"
		},
		{
			"field_length": 24,
			"field_name": "json_data.main_resource"
		},
		{
			"field_length": 40,
			"field_name": "json_data.modifier_id"
		},
		{
			"field_length": 40,
			"field_name": "json_data.size"
		},
		{
			"field_name": "json_data.automatic_receipt_delay"
		},
		{
			"field_name": "json_data.unproductive_min_time"
		},
		{
			"field_name": "json_data.transfer_state"
		},
		{
			"field_length": 160,
			"field_name": "json_data.extra_time_capacity_name"
		},
		{
			"field_name": "json_data.default_setup_hours"
		},
		{
			"field_name": "json_data.subcontract"
		},
		{
			"field_name": "json_data.follow_machine_data"
		},
		{
			"field_name": "json_data.last_phase_extra_time"
		},
		{
			"field_name": "json_data.track_time_extra_time"
		},
		{
			"field_name": "json_data.follow_track_time"
		},
		{
			"field_name": "json_data.loading_type"
		},
		{
			"field_length": 40,
			"field_name": "json_data.default_foreman_id"
		},
		{
			"field_name": "json_data.load_multiplier"
		},
		{
			"field_length": 80,
			"field_name": "json_data.project_id"
		},
		{
			"field_name": "json_data.lead_time"
		},
		{
			"field_length": 160,
			"field_name": "json_data.shelf_number"
		},
		{
			"field_name": "json_data.use_automatic_receipt"
		},
		{
			"field_length": 12,
			"field_name": "json_data.speed_unit"
		},
		{
			"field_name": "json_data.monthly_pre_maint_day"
		},
		{
			"field_name": "json_data.mach_max_capacity__shift"
		}
	],
	"default_field": "table/default_field.json"
}
