{
	"name": "table/external/4d/other/to_do.json",
	"table_name": "to_do",
	"table_prefix": "todo",
	"record_type": ["todo"],
	"local_table": "task",
	"local_record_type": "todo",
	"table_number": 40,
	"field": [
		{
			"field_name": "alert_",
			"local_field": "json_data.alert",
			"field_type": "varchar",
			"field_length": 2,
			"field_number": 9,
			"constraint": ["index"]
		},
		{
			"field_name": "calendar_name",
			"local_field": "json_data.calendar_name",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 24
		},
		{
			"field_name": "change_id",
			"local_field": "modify_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 29
		},
		{
			"field_name": "color",
			"local_field": "json_data.color",
			"field_type": "integer",
			"field_number": 16
		},
		{
			"field_name": "company_id",
			"local_field": "json_data.company_id",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 1,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "company_id",
					"linked_table": "company"
				}
			],
			"nullable": true
		},
		{
			"field_name": "confirmation",
			"local_field": "json_data.confirmation",
			"field_type": "varchar",
			"field_length": 2,
			"field_number": 10
		},
		{
			"field_name": "contact_person",
			"local_field": "json_data.contact_person",
			"field_type": "varchar",
			"field_length": 56,
			"field_number": 4,
			"constraint": ["index"]
		},
		{
			"field_name": "creator_date",
			"local_field": "json_data.creator_date",
			"field_type": "date",
			"field_number": 21
		},
		{
			"field_name": "creator_id",
			"local_field": "json_data.create_user",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 20,
			"constraint": ["index"]
		},
		{
			"field_name": "creator_time",
			"local_field": "json_data.creator_time",
			"field_type": "time",
			"field_number": 22
		},
		{
			"field_name": "customer_project",
			"local_field": "json_data.customer_project",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 27,
			"constraint": ["index"]
		},
		{
			"field_name": "date_",
			"local_field": "json_data.date",
			"field_type": "date",
			"field_number": 5,
			"constraint": ["index"]
		},
		{
			"field_name": "direct_telephone_number",
			"local_field": "json_data.direct_telephone_number",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 13
		},
		{
			"field_name": "employee_id",
			"local_field": "json_data.employee_id",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 2,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "employee_id",
					"linked_table": "employee"
				}
			],
			"nullable": true
		},
		{
			"field_name": "end_date",
			"local_field": "json_data.end_date",
			"field_type": "date",
			"field_number": 11,
			"constraint": ["index"]
		},
		{
			"field_name": "end_time",
			"local_field": "json_data.end_time",
			"field_type": "time",
			"field_number": 23
		},
		{
			"field_name": "firm_id",
			"local_field": "json_data.firm_id",
			"field_type": "integer",
			"field_number": 15,
			"constraint": ["index"]
		},
		{
			"field_name": "in_calendar",
			"local_field": "json_data.in_calendar",
			"field_type": "boolean",
			"field_number": 12
		},
		{
			"field_name": "info",
			"local_field": "description",
			"field_type": "text",
			"field_number": 8
		},
		{
			"field_name": "modifier_id",
			"local_field": "modify_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 30
		},
		{
			"field_name": "picture_name",
			"local_field": "json_data.picture_name",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 17
		},
		{
			"field_name": "priority",
			"local_field": "priority",
			"field_type": "integer",
			"field_number": 18,
			"constraint": ["index"]
		},
		{
			"field_name": "project_id",
			"local_field": "json_data.project_id",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 28
		},
		{
			"field_name": "record_data",
			"local_field": "json_data.record_data",
			"field_type": "text",
			"field_number": 32
		},
		{
			"field_name": "record_id",
			"local_field": "task_id",
			"local_field2": ["record_id"],
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 14,
			"constraint": ["unique"]
		},
		{
			"field_name": "repetition_rule",
			"local_field": "json_data.repetition_rule",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 19
		},
		{
			"field_name": "state",
			"local_field": "task_state",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 7,
			"constraint": ["index"]
		},
		{
			"field_name": "summary",
			"local_field": "json_data.summary",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 25
		},
		{
			"field_name": "time_",
			"local_field": "json_data.time",
			"field_type": "time",
			"field_number": 6
		},
		{
			"field_name": "transfer_id",
			"local_field": "json_data.transfer_id",
			"field_type": "varchar",
			"field_length": 60,
			"field_number": 26,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_state",
			"local_field": "json_data.transfer_state",
			"field_type": "integer",
			"field_number": 31
		},
		{
			"field_name": "type_",
			"local_field": "task_type",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 3,
			"constraint": ["index"]
		}
	]
}
