Adding more maps

This commit is contained in:
Scott Idem
2024-07-31 18:10:59 -04:00
parent d063675736
commit aec9271e07
8 changed files with 443 additions and 211 deletions

View File

@@ -78,64 +78,8 @@ def convert_obj_type(
return mk_resp(data=data, response=commons.response)
# INSERT INTO obj (`id_random`, `external_uid`, `external_id`, `code`, `type_name`, `type_ver_id`, `account_id`, `parent_type`, `parent_id`, `passcode`, `name`, `description`, `status`, `enable`, `enable_on`, `archive_on`, `restricted`, `hide`, `priority`, `sort`, `group`, `data_json`, `cfg_json`, `notes`, `created_on`, `updated_on`)
# SELECT
# `id_random`,
# 'external_person_id' AS `external_uid`,
# `external_id` AS `external_id`,
# NULL AS `code`,
# 'event_person' AS `type_name`,
# `id` AS `type_ver_id`,
# `account_id` AS `account_id`,
# 'event' AS `parent_type`,
# `event_id` AS `parent_id`,
# NULL AS `passcode`,
# NULL AS `name`,
# NULL AS `description`,
# `status` AS `status`,
# `enable` AS `enable`,
# NULL AS `enable_on`,
# NULL AS `archive_on`,
# NULL AS `restricted`,
# `hide` AS `hide`,
# `priority` AS `priority`,
# `sort` AS `sort`,
# `group` AS `group`,
# NULL AS `data_json`,
# NULL AS `cfg_json`,
# `notes` AS `notes`,
# `created_on` AS `created_on`,
# `updated_on` AS `updated_on`
# FROM
# `v_event_person`
# ON DUPLICATE KEY UPDATE
# `id_random` = VALUES(`id_random`),
# `external_uid` = VALUES(`external_uid`),
# `external_id` = VALUES(`external_id`),
# `code` = VALUES(`code`),
# `account_id` = VALUES(`account_id`),
# `parent_type` = VALUES(`parent_type`),
# `parent_id` = VALUES(`parent_id`),
# `passcode` = VALUES(`passcode`),
# `name` = VALUES(`name`),
# `description` = VALUES(`description`),
# `status` = VALUES(`status`),
# `enable` = VALUES(`enable`),
# `enable_on` = VALUES(`enable_on`),
# `archive_on` = VALUES(`archive_on`),
# `restricted` = VALUES(`restricted`),
# `hide` = VALUES(`hide`),
# `priority` = VALUES(`priority`),
# `sort` = VALUES(`sort`),
# `group` = VALUES(`group`),
# `data_json` = VALUES(`data_json`),
# `cfg_json` = VALUES(`cfg_json`),
# `notes` = VALUES(`notes`),
# `created_on` = VALUES(`created_on`),
# `updated_on` = VALUES(`updated_on`);
# This will run the generated SQL statement based on the object type and field map provided.
# Updated 2024-07-31
def handle_convert_obj_type(
obj_type: str,
field_map: Dict[str, str]

View File

@@ -0,0 +1,36 @@
{
"tbl_name": "v_event_device",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "NULL",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "`alert`",
"obj_alert_msg": "`alert_msg`",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "`event_notes`",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
}

View File

@@ -0,0 +1,36 @@
{
"tbl_name": "v_event_exhibit",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "`staff_passcode`",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_from_datetime`",
"obj_archive_on": "`archive_on`",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
}

View File

@@ -0,0 +1,36 @@
{
"tbl_name": "v_event_location",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
}

View File

@@ -0,0 +1,36 @@
{
"tbl_name": "v_event_person",
"obj_id": "`id_random`",
"obj_ext_uid": "external_person_id",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "NULL",
"obj_description": "NULL",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "`status`",
"obj_approve": "`approve`",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
}

View File

@@ -3,14 +3,14 @@
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "`passcode`",
"obj_name": "`full_name`",
"obj_description": "`description`",
"obj_description": "`biography`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",

View File

@@ -19,7 +19,7 @@
"obj_enable": "`enable`",
"obj_enable_on": "`enable_after_datetime`",
"obj_archive_on": "`enable_before_datetime`",
"obj_restricted": "NULL",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
@@ -33,4 +33,4 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
}
}

View File

@@ -34,7 +34,7 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"user": {
"tbl_name": "user",
"obj_id": "`id_random`",
@@ -70,7 +70,7 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"hosted_file": {
"tbl_name": "hosted_file",
"obj_id": "`id_random`",
@@ -106,7 +106,7 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"person": {
"tbl_name": "person",
"obj_id": "`id_random`",
@@ -142,7 +142,7 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"event": {
"tbl_name": "event",
"obj_id": "`id_random`",
@@ -178,7 +178,7 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"event_session": {
"tbl_name": "v_event_session",
"obj_id": "`id_random`",
@@ -200,6 +200,114 @@
"obj_enable": "`enable`",
"obj_enable_on": "`enable_after_datetime`",
"obj_archive_on": "`enable_before_datetime`",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_file": {
"tbl_name": "v_event_file",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "NULL",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`filename`",
"obj_description": "NULL",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_after_datetime`",
"obj_archive_on": "`enable_before_datetime`",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "NULL",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_badge": {
"tbl_name": "v_event_badge",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`full_name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_presentation": {
"tbl_name": "v_event_presentation",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "`approve`",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_from_datetime`",
"obj_archive_on": "`archive_on`",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
@@ -214,150 +322,186 @@
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_file":
{
"tbl_name": "v_event_file",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "NULL",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`filename`",
"obj_description": "NULL",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_after_datetime`",
"obj_archive_on": "`enable_before_datetime`",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "NULL",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_badge": {
"tbl_name": "v_event_badge",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`full_name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_presentation": {
"tbl_name": "v_event_presentation",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "`approve`",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_from_datetime`",
"obj_archive_on": "`archive_on`",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
},
"event_presenter": {
"tbl_name": "v_event_presenter",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "`passcode`",
"obj_name": "`full_name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"tbl_name": "v_event_presenter",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "`passcode`",
"obj_name": "`full_name`",
"obj_description": "`biography`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_person": {
"tbl_name": "v_event_person",
"obj_id": "`id_random`",
"obj_ext_uid": "external_person_id",
"obj_ext_id": "`external_id`",
"obj_code": "NULL",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "NULL",
"obj_description": "NULL",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "`status`",
"obj_approve": "`approve`",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_location": {
"tbl_name": "v_event_location",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "NULL",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "`internal_use`",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_device": {
"tbl_name": "v_event_device",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "NULL",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "NULL",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "`alert`",
"obj_alert_msg": "`alert_msg`",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "NULL",
"obj_archive_on": "NULL",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "`event_notes`",
"obj_data_json": "NULL",
"obj_cfg_json": "NULL",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
"event_exhibit": {
"tbl_name": "v_event_exhibit",
"obj_id": "`id_random`",
"obj_ext_uid": "NULL",
"obj_ext_id": "`external_id`",
"obj_code": "`code`",
"obj_type_ver_id": "`id`",
"obj_account_id": "`account_id`",
"obj_parent_type": "'event'",
"obj_parent_id": "`event_id`",
"obj_passcode": "`staff_passcode`",
"obj_name": "`name`",
"obj_description": "`description`",
"obj_alert": "NULL",
"obj_alert_msg": "NULL",
"obj_status": "NULL",
"obj_approve": "NULL",
"obj_approved_on": "NULL",
"obj_enable": "`enable`",
"obj_enable_on": "`enable_from_datetime`",
"obj_archive_on": "`archive_on`",
"obj_restricted": "NULL",
"obj_hide": "`hide`",
"obj_priority": "`priority`",
"obj_sort": "`sort`",
"obj_group": "`group`",
"obj_ver": "NULL",
"obj_staff_notes": "NULL",
"obj_data_json": "`data_json`",
"obj_cfg_json": "`cfg_json`",
"obj_meta_json": "NULL",
"obj_other_json": "NULL",
"obj_notes": "`notes`",
"obj_created_on": "`created_on`",
"obj_updated_on": "`updated_on`"
},
}