`device_name`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT'undefined'COMMENT'model of the device. This parameter corresponds to the device name in the device dictionary table.',
`user_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The account used when the device was bound.',
`nickname`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'custom name of the device',
`workspace_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The workspace to which the current device belongs.',
`device_type`intNOTNULLDEFAULT'-1'COMMENT'This parameter corresponds to the device type in the device dictionary table.',
`sub_type`intNOTNULLDEFAULT'-1'COMMENT'This parameter corresponds to the sub type in the device dictionary table.',
`domain`intNOTNULLDEFAULT'-1'COMMENT'This parameter corresponds to the domain in the device dictionary table.',
`firmware_version`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'firmware version of the device',
`compatible_status`tinyint(1)NOTNULLDEFAULT'1'COMMENT'1: consistent; 0: inconsistent; Whether the firmware versions are consistent.',
`version`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'version of the protocol. This field is currently not useful.',
`device_index`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'Control of the drone, A control or B control.',
`child_sn`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The device controlled by the gateway.',
`domain`intNOTNULLCOMMENT'This parameter corresponds to the domain in the Product Type section of the document. 0: drone; 1: payload; 2: remote control; 3: dock;',
`device_type`intNOTNULLCOMMENT'This parameter corresponds to the type in the Product Type section of the document.',
`sub_type`intNOTNULLCOMMENT'This parameter corresponds to the sub_type in the Product Type section of the document.',
`device_name`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'This parameter corresponds to the name in the Product Type section of the document.',
`file_name`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT'undefined'COMMENT'The file name of the firmware package, including the file suffix',
`firmware_version`varchar(45)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'It needs to be formatted according to the official firmware version. 00.00.0000',
`file_url`varchar(200)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The download address for the firmware package.',
`file_size`intNOTNULLCOMMENT'The size of the firmware package.',
`file_md5`varchar(45)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The md5 of the firmware package.',
`device_name`varchar(45)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'model of the device. This parameter corresponds to the device name in the device dictionary table.',
`release_note`varchar(1000)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The release note of the firmware package.',
`release_date`bigintNOTNULLCOMMENT'The release date of the firmware package.',
`status`tinyint(1)NOTNULLDEFAULT'0'COMMENT'Availability of the firmware package. 1: available; 0: unavailable',
`hms_key`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The key of the hms message, according to which the message text is obtained.',
`payload_sn`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The sn of the device payload.',
`payload_name`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT'undefined'COMMENT'model of the payload. This parameter corresponds to the device name in the device dictionary table.',
`payload_type`smallintNOTNULLCOMMENT'This parameter corresponds to the device type in the device dictionary table.',
`sub_type`smallintNOTNULLCOMMENT'This parameter corresponds to the sub type in the device dictionary table.',
`firmware_version`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULTNULLCOMMENT'firmware version of the device payload',
`payload_index`smallintNOTNULLCOMMENT'The location of the payload on the device.',
`device_sn`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'Which device the current payload belongs to.',
`username`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The name of the account.',
`password`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The password of the account.',
`workspace_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'Which workspace the current account belongs to.',
`user_type`smallintNOTNULLCOMMENT'The type of account. Different sides need to be logged in with the corresponding type of account. 1: web; 2: pilot.',
`mqtt_username`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The account name used by the current account when logging into the emqx server.',
`mqtt_password`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The account password used by the current account when logging into the emqx server.',
`bind_code`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The binding code for this workspace is required when the dock connects to a third-party cloud.',
`group_name`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The name of the group.',
`group_type`intNOTNULLCOMMENT'The type of the group. 0: custome; 1: default; 2: app shared; see developer document for detail.',
`workspace_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The workspace_id in the manage_workspace table.',
`is_distributed`tinyint(1)NOTNULLDEFAULT'1'COMMENT'element group distributed status. Only data with value 1 is displayed on the pilot map. 1: true; 0: false.',
`is_lock`tinyint(1)NOTNULLDEFAULT'0'COMMENT'Whether to lock. If locked, the elements under this element group cannot be deleted and modified. 1: locked; 0: unlock.',
`file_name`varchar(100)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The original name of the file.',
`file_path`varchar(100)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The path of the file.',
`workspace_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The workspace to which the file belongs.',
`fingerprint`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The fingerprint of the file. This property exists only for media files uploaded by Pilot.',
`tinny_fingerprint`varchar(100)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The tiny fingerprint of the file. This property exists only for media files uploaded by Pilot.',
`object_key`varchar(1000)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT''COMMENT'The key of the file in the bucket.',
`sub_file_type`intDEFAULTNULLCOMMENT'This property exists only for image files uploaded by Pilot. 0: normal picture; 1: panorama.',
`is_original`tinyint(1)NOTNULLCOMMENT'Whether is the original image.',
`drone`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT'undefined'COMMENT'The sn of the drone which create the file.',
`payload`varchar(32)CHARACTERSETutf8COLLATEutf8_general_ciNOTNULLDEFAULT'undefined'COMMENT'The name of the drone payload which create the file.',
`job_id`varchar(64)CHARACTERSETutf8COLLATEutf8_general_ciDEFAULT''COMMENT'The job_id in the wayline_job table. Whether the file belongs to the dock task.',