{
  "name": "智慧消防",
  "describe": "消防企业版",
  "avatar": "",
  "version": "3.5.5",
  "createdTime": "2022-8-19 14:02:47",
  "updatedTime": "2022-8-19 16:57:18",
  "profile": {
    "default": {
      "db": "C1235FE7-B5F8-4681-9C0B-37876ADBDE03",
      "dbConn": "B8AC05C2-2783-4C16-9EBB-E952CC86E100",
      "entityInitFields": [
        {
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": 0,
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "domain": "",
          "refDict": "",
          "uiHint": "",
          "id": "D4B5C40C-BB46-4BF6-8B06-D32A9B597C70"
        },
        {
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "157FAE1E-6269-44F5-94F0-0BBBFE7AEEEB"
        },
        {
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "8712F543-B40B-425B-9EE1-537670AF3743"
        },
        {
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "964441C9-E106-43DE-AB2A-5DC3E9C10AC9"
        },
        {
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "4BCB3952-7E2C-49CA-B767-2A669520A0A6"
        }
      ],
      "entityInitProperties": {}
    },
    "sql": {
      "delimiter": ""
    },
    "dataTypeSupports": [
      {
        "defKey": "MYSQL",
        "id": "C1235FE7-B5F8-4681-9C0B-37876ADBDE03"
      },
      {
        "defKey": "ORACLE",
        "id": "5451CFEC-A96A-499A-9512-CF8717144819"
      },
      {
        "defKey": "SQLServer",
        "id": "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2"
      },
      {
        "defKey": "PostgreSQL",
        "id": "F6D0C3A3-F26B-4637-B95C-02B19B015C20"
      },
      {
        "defKey": "DB2",
        "id": "BB2233A5-9B24-4C8D-9479-43E7BB06C758"
      },
      {
        "defKey": "DM",
        "id": "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F"
      },
      {
        "defKey": "GaussDB",
        "id": "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011"
      },
      {
        "defKey": "Kingbase",
        "id": "579A07A8-F7FF-4821-BDE4-72EB7567868B"
      },
      {
        "defKey": "MaxCompute",
        "id": "678A4D8A-5771-4D80-A395-0D30D7F44717"
      },
      {
        "defKey": "JAVA",
        "id": "01F48C44-0890-4999-8E9E-E2D102C9C092"
      },
      {
        "defKey": "C#",
        "id": "516020FD-5569-46D4-BD3A-91B34EA0BB16"
      },
      {
        "defKey": "SQLite",
        "id": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1"
      },
      {
        "defKey": "JavaMybatis",
        "id": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B"
      },
      {
        "defKey": "JavaMybatisPlus",
        "id": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073"
      },
      {
        "defKey": "Hive",
        "id": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2"
      },
      {
        "defKey": "Golang",
        "id": "B91D99E0-9B7C-416C-8737-B760957DAF09"
      }
    ],
    "codeTemplates": [
      {
        "type": "dbDDL",
        "applyFor": "C1235FE7-B5F8-4681-9C0B-37876ADBDE03",
        "isDefault": true,
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n)  COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChanged(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n        }\n        if(before.defName !== after.defName){\n            ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n        }\n        if(before.comment !== after.comment){\n            ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n        }\n        if(ret.length>0){\n            return '    基本信息:\\n\\t'+ret.join('\\n\\t');\n        }\n        return '';\n    };\n    \n    function buildAddedDesc(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        \n        for (let field of fieldAdded) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildRemovedDesc(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        \n        for (let field of fieldRemoved) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildModifiedDesc(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        for (let field1 of fieldModified) { \n            let row = [];\n            let field = field1.before;\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n    {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n    修改字段：\n    {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n        /*计算是否调整了属性*/\n        let propAdded = entity.data.propAdded || [];\n        let propRemoved = entity.data.propRemoved || [];\n        let propModified = entity.data.propModified || [];\n        let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n        /*计算关联是否调整*/\n        let refEntityAdd = entity.data.refEntityAdd || [];\n        let refEntityRemoved = entity.data.refEntityRemoved || [];\n        let relaArray = [];\n        for (let rela of refEntityAdd) {\n            relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        for (let rela of refEntityRemoved) {\n            relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        /*索引是否修改过*/\n        let indexChanged = entity.data.indexChanged;\n    }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n    添加字段：\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n    删除字段：\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}\n",
        "update": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChangedDDL(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push('ALTER TABLE '+before.defKey+' RENAME TO '+after.defKey);\n        }\n        let commentText = '';\n        let commentChanged = false;\n        if(before.defName !== after.defName){\n            commentText = after.defName;\n            commentChanged = true;\n        }\n        if(before.comment !== after.comment){\n            commentChanged = true;\n            if(commentText){\n                commentText = (commentText+ ';'+after.comment)\n            }else{\n                commentText = after.comment\n            }\n        }\n        if(commentChanged){\n            ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');\n        }\n        let baseText = '-- 基本信息:\\n';\n        return baseText+ret.join(';\\n')+';';\n    };\n    \n    function buildAddedDDL(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        if(fieldAdded.length == 0){\n            return '';\n        }\n        \n        let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n        for (let field of fieldAdded) { \n            let ddlItem = 'ADD COLUMN '+field.defKey+' '+field.dbType;\n            /*处理数据类型长度*/\n            if(field.len>0){\n                ddlItem += ('('+field.len);\n                if(parseInt(field.scale)>0){\n                    ddlItem += (','+field.scale);\n                }\n                ddlItem += ')';\n            }\n            if(field.notNull){\n                ddlItem += ' NOT NULL';\n            }\n            if(field.autoIncrement){\n                ddlItem += ' AUTO_INCREMENT';\n            }\n            if(field.defaultValue){\n                ddlItem += (' DEFAULT ' + field.defaultValue);\n            }\n            ddlItem += (' COMMENT \\''+field.defName+';'+field.comment+'\\'');\n            \n            if(field.index>0 && field.afterFieldKey){\n                ddlItem += (' AFTER '+field.afterFieldKey);\n            }\n            ret.push(ddlItem);\n        }\n        return firstDDL+'\\n'+ret.join(',\\n');\n    };\n    \n    function buildRemovedDDL(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        if(fieldRemoved.length == 0){\n            return '';\n        }\n        \n        let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n        for (let field of fieldRemoved) { \n            ret.push('DROP '+field.defKey);\n        }\n        return firstDDL+'\\n'+ret.join(',\\n');\n    };\n    \n    function buildModifiedDDL(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n        for (let field of fieldModified) { \n            let changeDDL = '';\n            let before = field.before || {};\n            let after = field.after || {};\n            if(before.defKey === after.defKey){\n                changeDDL += (' MODIFY COLUMN '+after.defKey);\n            }else{\n                changeDDL += (' CHANGE COLUMN '+before.defKey+' '+after.defKey);\n            }\n            changeDDL += (' '+after.dbType);\n            if(after.len>0){\n                changeDDL += ('('+after.len);\n                if(parseInt(after.scale)>0){\n                    changeDDL += (','+after.scale);\n                }\n                changeDDL += ')';\n            }\n            if(after.notNull){\n                changeDDL += ' NOT NULL';\n            }\n            let defaultValue = '';\n            if(after.defaultValue != null && after.defaultValue.length>0){\n                defaultValue = (after.defaultValue);\n            }else{\n                defaultValue = 'NULL';\n            }\n            if(defaultValue != 'NULL'){\n                changeDDL += (' DEFAULT ' + defaultValue);\n            }\n\n            let comment = after.comment||'';\n            if(comment){\n                changeDDL += (' COMMENT \\''+comment+'\\';');\n            }\n            \n            ret.push(firstDDL+' '+changeDDL);\n        }\n        return ret;\n    };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表：{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段：\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段：\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段：\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
      },
      {
        "type": "dbDDL",
        "applyFor": "5451CFEC-A96A-499A-9512-CF8717144819",
        "isDefault": true,
        "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChanged(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n        }\n        if(before.defName !== after.defName){\n            ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n        }\n        if(before.comment !== after.comment){\n            ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n        }\n        if(ret.length>0){\n            return '    基本信息:\\n\\t'+ret.join('\\n\\t');\n        }\n        return '';\n    };\n    \n    function buildAddedDesc(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        \n        for (let field of fieldAdded) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildRemovedDesc(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        \n        for (let field of fieldRemoved) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildModifiedDesc(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        for (let field1 of fieldModified) { \n            let row = [];\n            let field = field1.before;\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* -------------------------------------------------- */\n创建表：\n{{~ createEntities:entity}}\n    {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* -------------------------------------------------- */\n删除表：\n{{~ dropEntities:entity}}\n    {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* -------------------------------------------------- */\n修改表：{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n    {{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n    添加字段：\n    {{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n    {{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n    删除字段：\n    {{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n    {{?}}{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n    修改字段：\n    {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}\n    {{?}}{{\n        /*计算是否调整了属性*/\n        let propAdded = entity.data.propAdded || [];\n        let propRemoved = entity.data.propRemoved || [];\n        let propModified = entity.data.propModified || [];\n        let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n        /*计算关联是否调整*/\n        let refEntityAdd = entity.data.refEntityAdd || [];\n        let refEntityRemoved = entity.data.refEntityRemoved || [];\n        let relaArray = [];\n        for (let rela of refEntityAdd) {\n            relaArray.push('\\n\\t建立关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        for (let rela of refEntityRemoved) {\n            relaArray.push('\\n\\t解除关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        /*索引是否修改过*/\n        let indexChanged = entity.data.indexChanged;\n    }}\n{{=indexChanged?'\\n\\t更改了索引':''}}\n{{=changed?'\\n\\t更改了属性':''}}\n{{=relaArray.length>0?relaArray.join(''):''}}\n{{~}}\n{{?}}",
        "update": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChangedDDL(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n        }\n        let commentText = '';\n        let commentChanged = false;\n        if(before.defName !== after.defName){\n            commentText = after.defName;\n            commentChanged = true;\n        }\n        if(before.comment !== after.comment){\n            commentChanged = true;\n            if(commentText){\n                commentText = (commentText+ ';'+after.comment)\n            }else{\n                commentText = after.comment\n            }\n        }\n        if(commentChanged){\n            let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n            ret.push(myText);\n        }\n        let baseText = '-- 基本信息:\\n';\n        return baseText+ret.join(';\\n')+';';\n    };\n    \n    function buildAddedDDL(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        if(fieldAdded.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldAdded) { \n            let ddlItem = `ADD (${field.defKey} ${field.dbType}`;\n            /*处理数据类型长度*/\n            if(field.len>0){\n                ddlItem += ('('+field.len);\n                if(parseInt(field.scale)>0){\n                    ddlItem += (','+field.scale);\n                }\n                ddlItem += ')';\n            }\n            let defaultValue = field.defaultValue;\n            defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n            if(defaultValue.length>0){\n                ddlItem += (' DEFAULT ' + defaultValue);\n            }\n            if(field.notNull){\n                ddlItem += ' NOT NULL';\n            }\n            ddlItem += ')';\n            ret.push(`${firstDDL} ${ddlItem}`);\n            \n            /*处理字段注释*/\n            let fieldComments = [];\n            if(field.defName != null &&field.defName.length>0){\n                fieldComments.push(field.defName);\n            }\n            if(field.comment != null &&field.comment.length>0){\n                fieldComments.push(field.comment);\n            }\n            let commentText = fieldComments.join(';');\n            if(commentText != null && commentText.length > 0){\n                let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n                 ret.push(commentDDL);\n            }\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildRemovedDDL(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        if(fieldRemoved.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldRemoved) { \n            ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildModifiedDDL(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldModified) { \n            let changeDDL = '';\n            let before = field.before || {};\n            let after = field.after || {};\n            if(before.defKey !== after.defKey){\n                let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n                ret.push(renameText);\n            }\n            /*如果没有变化，则不生成变更语句*/\n            if(before.dbType === after.dbType \n            && before['len'] === after['len'] \n            && before.scale === after.scale\n            && before.primaryKey === after.primaryKey\n            && before.notNull === after.notNull\n            && before.autoIncrement === after.autoIncrement\n            && before.defaultValue === after.defaultValue){\n                continue;\n            }\n            changeDDL += ('MODIFY ('+after.defKey+'');\n            changeDDL += (' '+after.dbType);\n            if(after.len>0){\n                changeDDL += ('('+after.len);\n                if(parseInt(after.scale)>0){\n                    changeDDL += (','+after.scale);\n                }\n                changeDDL += ')';\n            }\n            let defaultValue = after.defaultValue;\n            defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n            if(defaultValue.length>0){\n                changeDDL += (' DEFAULT ' + defaultValue);\n            }\n            \n            if(after.notNull){\n                changeDDL += ' NOT NULL';\n            }\n            changeDDL += ')';\n            ret.push(`${firstDDL} ${changeDDL};`);\n        }\n        return ret;\n    };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表：{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段：\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段：\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段：\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
      },
      {
        "type": "dbDDL",
        "applyFor": "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2",
        "isDefault": true,
        "createTable": "IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[{{=it.entity.defKey}}]') AND type in (N'U'))\nDROP TABLE [dbo].[{{=it.entity.defKey}}];\n\nCREATE TABLE [dbo].[{{=it.entity.defKey}}](\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' IDENTITY(1,1)' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.defKey || it.entity.defName}}EXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, null, null;{{?}}\n{{~it.entity.fields:field:index}}\nEXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(field.defName,field.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, 'column', {{=field.defKey}};\n{{~}}\n",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChanged(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n        }\n        if(before.defName !== after.defName){\n            ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n        }\n        if(before.comment !== after.comment){\n            ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n        }\n        if(ret.length>0){\n            return '    基本信息:\\n\\t'+ret.join('\\n\\t');\n        }\n        return '';\n    };\n    \n    function buildAddedDesc(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        \n        for (let field of fieldAdded) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildRemovedDesc(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        \n        for (let field of fieldRemoved) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildModifiedDesc(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        for (let field1 of fieldModified) { \n            let row = [];\n            let field = field1.before;\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n    {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n    修改字段：\n    {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n        /*计算是否调整了属性*/\n        let propAdded = entity.data.propAdded || [];\n        let propRemoved = entity.data.propRemoved || [];\n        let propModified = entity.data.propModified || [];\n        let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n        /*计算关联是否调整*/\n        let refEntityAdd = entity.data.refEntityAdd || [];\n        let refEntityRemoved = entity.data.refEntityRemoved || [];\n        let relaArray = [];\n        for (let rela of refEntityAdd) {\n            relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        for (let rela of refEntityRemoved) {\n            relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        /*索引是否修改过*/\n        let indexChanged = entity.data.indexChanged;\n    }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n    添加字段：\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n    删除字段：\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
        "update": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChangedDDL(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push(`EXEC sp_rename '${before.defKey}','${after.defKey}'`);\n        }\n        let commentText = '';\n        let commentChanged = false;\n        if(before.defName !== after.defName){\n            commentText = after.defName;\n            commentChanged = true;\n        }\n        if(before.comment !== after.comment){\n            commentChanged = true;\n            if(commentText){\n                commentText = (commentText+ ';'+after.comment)\n            }else{\n                commentText = after.comment\n            }\n        }\n        if(commentChanged){\n            let myText = `IF ((SELECT COUNT(*) FROM ::fn_listextendedproperty('MS_Description','SCHEMA', 'dbo','TABLE', '${after.defKey}', NULL, NULL)) > 0)\n            \\n\\tEXEC sp_updateextendedproperty 'MS_Description', '${commentText}','SCHEMA', 'dbo','TABLE', '${after.defKey}'\n            \\nELSE\n            \\n\\tEXEC sp_addextendedproperty 'MS_Description', '${commentText}', 'SCHEMA', 'dbo','TABLE', '${after.defKey}'\n            `;\n            ret.push(myText);\n            /*ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');*/\n        }\n        let baseText = '-- 基本信息:\\n';\n        return baseText+ret.join(';\\n')+';';\n    };\n    \n    function buildAddedDDL(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        if(fieldAdded.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n        for (let field of fieldAdded) { \n            let ddlItem = `ADD [${field.defKey}] ${field.dbType}`;\n            /*处理数据类型长度*/\n            if(field.len>0){\n                ddlItem += ('('+field.len);\n                if(parseInt(field.scale)>0){\n                    ddlItem += (','+field.scale);\n                }\n                ddlItem += ')';\n            }\n            let defaultValue = field.defaultValue;\n            defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n            if(defaultValue.length>0){\n                ddlItem += (' DEFAULT ' + defaultValue);\n            }\n            if(field.notNull){\n                ddlItem += ' NOT NULL';\n            }\n            ret.push(`${firstDDL} ${ddlItem}`);\n            \n            /*处理字段注释*/\n            let fieldComments = [];\n            if(field.defName != null &&field.defName.length>0){\n                fieldComments.push(field.defName);\n            }\n            if(field.comment != null &&field.comment.length>0){\n                fieldComments.push(field.comment);\n            }\n            let commentText = fieldComments.join(';');\n            if(commentText != null && commentText.length > 0){\n                let commentDDL = `EXEC sp_addextendedproperty 'MS_Description', N'${commentText}','SCHEMA', N'dbo','TABLE', N'${entity.data.baseInfo.defKey}','COLUMN', N'${field.defKey}'`;\n                ret.push(commentDDL);\n            }\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildRemovedDDL(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        if(fieldRemoved.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n        for (let field of fieldRemoved) { \n            ret.push(`${firstDDL} DROP COLUMN [${field.defKey}]`);\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildModifiedDDL(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n        for (let field of fieldModified) { \n            let changeDDL = '';\n            let before = field.before || {};\n            let after = field.after || {};\n            if(before.defKey === after.defKey){\n                changeDDL += (' ALTER COLUMN ['+after.defKey+']');\n            }else{\n                let renameText = `EXEC sp_rename '[dbo].[${entity.data.baseInfo.defKey}].[${before.defKey}]','${after.defKey}','COLUMN';`;\n                ret.push(renameText);\n                continue;\n            }\n            changeDDL += (' '+after.dbType);\n            if(after.len>0){\n                changeDDL += ('('+after.len);\n                if(parseInt(after.scale)>0){\n                    changeDDL += (','+after.scale);\n                }\n                changeDDL += ')';\n            }\n            let defaultValue = after.defaultValue;\n            defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n            if(defaultValue.length>0){\n                changeDDL += (' DEFAULT ' + defaultValue);\n            }\n            \n            if(after.notNull){\n                changeDDL += ' NOT NULL';\n            }\n            ret.push(`${firstDDL} ${changeDDL};`);\n        }\n        return ret;\n    };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表：{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段：\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段：\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段：\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
      },
      {
        "type": "dbDDL",
        "applyFor": "F6D0C3A3-F26B-4637-B95C-02B19B015C20",
        "isDefault": true,
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChanged(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n        }\n        if(before.defName !== after.defName){\n            ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n        }\n        if(before.comment !== after.comment){\n            ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n        }\n        if(ret.length>0){\n            return '    基本信息:\\n\\t'+ret.join('\\n\\t');\n        }\n        return '';\n    };\n    \n    function buildAddedDesc(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        \n        for (let field of fieldAdded) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildRemovedDesc(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        \n        for (let field of fieldRemoved) { \n            let row = [];\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n    \n    function buildModifiedDesc(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        for (let field1 of fieldModified) { \n            let row = [];\n            let field = field1.before;\n            row.push(field.defKey+'['+field.defName+']');\n            ret.push(row.join(\"\"))\n        }\n        return ret;\n    };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n    {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n    修改字段：\n    {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n        /*计算是否调整了属性*/\n        let propAdded = entity.data.propAdded || [];\n        let propRemoved = entity.data.propRemoved || [];\n        let propModified = entity.data.propModified || [];\n        let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n        /*计算关联是否调整*/\n        let refEntityAdd = entity.data.refEntityAdd || [];\n        let refEntityRemoved = entity.data.refEntityRemoved || [];\n        let relaArray = [];\n        for (let rela of refEntityAdd) {\n            relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        for (let rela of refEntityRemoved) {\n            relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n        }\n        /*索引是否修改过*/\n        let indexChanged = entity.data.indexChanged;\n    }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n    添加字段：\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n    删除字段：\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
        "update": "{{\n    let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n    let dropEntities   = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n    let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n    \n    function baseChangedDDL(beforeAfter){\n        if(beforeAfter == null){\n            return '';\n        }\n        let ret = [];\n        let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n        if(before.defKey !== after.defKey){\n            ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n        }\n        let commentText = '';\n        let commentChanged = false;\n        if(before.defName !== after.defName){\n            commentText = after.defName;\n            commentChanged = true;\n        }\n        if(before.comment !== after.comment){\n            commentChanged = true;\n            if(commentText){\n                commentText = (commentText+ ';'+after.comment)\n            }else{\n                commentText = after.comment\n            }\n        }\n        if(commentChanged){\n            let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n            ret.push(myText);\n        }\n        let baseText = '-- 基本信息:\\n';\n        return baseText+ret.join(';\\n')+';';\n    };\n    \n    function buildAddedDDL(entity){\n        let ret = [];\n        let fieldAdded = entity.data.fieldAdded||[];\n        if(fieldAdded.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldAdded) { \n            let ddlItem = `ADD COLUMN ${field.defKey} ${field.dbType}`;\n            /*处理数据类型长度*/\n            if(field.len>0){\n                ddlItem += ('('+field.len);\n                if(parseInt(field.scale)>0){\n                    ddlItem += (','+field.scale);\n                }\n                ddlItem += ')';\n            }\n            if(field.notNull){\n                ddlItem += ' NOT NULL';\n            }            \n            let defaultValue = field.defaultValue;\n            defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n            if(defaultValue.length>0){\n                ddlItem += (' DEFAULT ' + defaultValue);\n            }\n\n            ret.push(`${firstDDL} ${ddlItem}`);\n            \n            /*处理字段注释*/\n            let fieldComments = [];\n            if(field.defName != null &&field.defName.length>0){\n                fieldComments.push(field.defName);\n            }\n            if(field.comment != null &&field.comment.length>0){\n                fieldComments.push(field.comment);\n            }\n            let commentText = fieldComments.join(';');\n            if(commentText != null && commentText.length > 0){\n                let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n                 ret.push(commentDDL);\n            }\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildRemovedDDL(entity){\n        let ret = [];\n        let fieldRemoved = entity.data.fieldRemoved||[];\n        if(fieldRemoved.length == 0){\n            return '';\n        }\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldRemoved) { \n            ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n        }\n        return '\\n'+ret.join(';\\n');\n    };\n    \n    function buildModifiedDDL(entity){\n        let ret = [];\n        let fieldModified = entity.data.fieldModified||[];\n        \n        let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n        for (let field of fieldModified) { \n            let before = field.before || {};\n            let after = field.after || {};\n            if(before.defKey !== after.defKey){\n                let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n                ret.push(renameText);\n            }\n            /*如果没有变化，则不生成变更语句*/\n            if(before.dbType === after.dbType \n            && before['len'] === after['len'] \n            && before.scale === after.scale\n            && before.primaryKey === after.primaryKey\n            && before.notNull === after.notNull\n            && before.autoIncrement === after.autoIncrement\n            && before.defaultValue === after.defaultValue){\n                continue;\n            }\n            if(before.dbType !== after.dbType || before.len !== after.len || before.scale !== after.scale){\n                let dbTypeDDL = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${after.defKey} TYPE ${before.dbType}`;\n                if(after.len>0){\n                    dbTypeDDL += ('('+after.len);\n                    if(parseInt(after.scale)>0){\n                        dbTypeDDL += (','+after.scale);\n                    }\n                    dbTypeDDL += ')';\n                }\n                ret.push(dbTypeDDL+';');\n            }\n            \n            if(before.defaultValue !== after.defaultValue){\n                let defaultDDL = '';\n                let defaultValue = after.defaultValue;\n                defaultValue = (defaultValue==null)?\"NULL\":(\"\"+defaultValue);\n                if(defaultValue.length>0){\n                    defaultDDL += ('SET DEFAULT ' + defaultValue);\n                }\n                let defaultTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${defaultDDL};`;\n                ret.push(defaultTpl);\n            }\n            \n            if(before.notNull !== after.notNull){\n                let notNullDDL= 'SET NULL';\n                if(after.notNull){\n                    let notNullDDL= 'SET NOT NULL';\n                }\n                let notNullTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${notNullDDL};`;\n                ret.push(notNullTpl);\n            }\n        }\n        return ret;\n    };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表：{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段：\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n-- 索引重建\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段：\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段：\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
      },
      {
        "type": "appCode",
        "applyFor": "01F48C44-0890-4999-8E9E-E2D102C9C092",
        "isDefault": true,
        "content": "package cn.com.chiner.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n{{\n    var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n}}\n /**\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\n@Table(name=\"{{=it.entity.defKey}}\")\npublic class {{=it.func.camel(it.entity.defKey,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    {{? field.primaryKey }}\n    @Id\n    @GeneratedValue\n    {{?}}\n    private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n        return this.{{=it.func.camel(field.defKey,false)}};\n    }\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n        this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n    }\n{{~}}\n}",
        " JpaBean": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@Table(name=\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    {{? field.primaryKey }}\n    @Id\n    @GeneratedValue\n    {{?}}\n    @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n    private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n        return this.{{=it.func.camel(field.defKey,false)}};\n    }\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n        this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n    }\n{{~}}\n}"
      },
      {
        "type": "dbDDL",
        "applyFor": "BB2233A5-9B24-4C8D-9479-43E7BB06C758",
        "isDefault": true,
        "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "",
        "update": ""
      },
      {
        "type": "dbDDL",
        "applyFor": "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F",
        "isDefault": true,
        "createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ','('+field.defaultValue+')',' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "",
        "update": ""
      },
      {
        "type": "appCode",
        "applyFor": "516020FD-5569-46D4-BD3A-91B34EA0BB16",
        "isDefault": true,
        "content": "using System;\nusing System.Collections.Generic;\n\n$blankline\n{{\n    var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n}}\n/*\n * @author : http://www.chiner.com.cn\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace Chiner.Application\n{\n    public partial class {{=it.func.camel(it.entity.defKey,true) }}\n    {\n    \n        {{~it.entity.fields:field:index}}\n        /// <summary>\n        /// {{=it.func.join(field.defName,field.comment,';')}}\n        /// </summary>\n        public {{=field.type}} {{=it.func.camel(field.defKey,true)}} { get; set; }\n        $blankline\n        {{~}}\n        \n    }\n}",
        "Default": "using System;\nusing System.Collections.Generic;\n\n$blankline\n{{\n    var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n}}\n/*\n * @author : http://www.chiner.com.cn\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace PDManer.Application\n{\n    public partial class {{=it.func.camel(it.entity.defKey,true) }}\n    {\n    \n        {{~it.entity.fields:field:index}}\n        /// <summary>\n        /// {{=it.func.join(field.defName,field.comment,';')}}\n        /// </summary>\n        public {{=field.type}} {{=it.func.camel(field.defKey,true)}} { get; set; }\n        $blankline\n        {{~}}\n        \n    }\n}",
        "SqlSugar": "using System;\nusing System.Collections.Generic;\nusing SqlSugar;\n\n$blankline\n{{\n    var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    var sqlSugartable='[SugarTable(\"{{=it.entity.defKey}}\", TableDescription = \"{{=it.func.join(it.entity.defName,it.entity.comment,';')}}\")]';\n}}\n/*\n * @author : xkdong@163.com\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace Model.DBModel\n{\n    /// <summary>\n    /// {{=it.func.join(it.entity.defName,it.entity.comment,';')}}\n    /// </summary>\n    {{=sqlSugartable}}\n    public class {{=it.entity.defKey}}\n    {\n        {{~it.entity.fields:field:index}}\n        /// <summary>\n        /// {{=it.func.join(field.defName,field.comment,';')}}\n        /// </summary>\n        {{? field.primaryKey }}\n        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]\n        {{?}}\n        public {{=field.type}} {{=it.func.camel(field.defKey,true)}}{ get; set; }\n        $blankline\n        {{~}}\n    }\n}"
      },
      {
        "type": "dbDDL",
        "applyFor": "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011",
        "isDefault": true,
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "",
        "update": ""
      },
      {
        "type": "dbDDL",
        "applyFor": "579A07A8-F7FF-4821-BDE4-72EB7567868B",
        "isDefault": true,
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "",
        "update": ""
      },
      {
        "type": "dbDDL",
        "applyFor": "dictSQLTemplate",
        "isDefault": true,
        "content": "/* 插入字典总表[{{=it.dict.defKey}}-{{=it.dict.defName}}] */\nINSERT INTO SYS_DICT(KEY_,LABEL,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=it.dict.defName}}','{{=it.dict.intro}}',1);\n/* 插入字典明细表 */\n{{~it.dict.items:item:index}}\nINSERT INTO SYS_DICT_ITEM(DICT_KEY,KEY_,LABEL,SORT_,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=item.defKey}}','{{=item.defName}}','{{=item.sort}}','{{=item.intro}}',1);\n{{~}}"
      },
      {
        "type": "dbDDL",
        "applyFor": "678A4D8A-5771-4D80-A395-0D30D7F44717",
        "isDefault": true,
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n)  COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n",
        "createIndex": "",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n",
        "message": "",
        "update": ""
      },
      {
        "applyFor": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1",
        "type": "dbDDL",
        "createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n    {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n    {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTOINCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }} --{{=it.func.join(field.defName,field.comment,';')}}\n{{~}}\n{{? pkList.length >0 }}\n    PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n)  ; --{{=it.func.join(it.entity.defName,it.entity.comment,';') }}\n$blankline\n",
        "createIndex": "{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}",
        "createView": "CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n    {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"
      },
      {
        "applyFor": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B",
        "type": "appCode",
        "Controller": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.controller;\n$blankline\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n    @Autowired\n    private {{=serviceClass}} {{=serviceVarName}};\n    $blankline\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    @ApiOperation(\"通过ID查询单条数据\")\n    @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n    public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n    }\n    $blankline\n    /** \n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param pageRequest 分页对象\n     * @return 查询结果\n     */\n    @ApiOperation(\"分页查询\")\n    @GetMapping\n    public ResponseEntity<Page<{{=beanClass}}>> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n        return ResponseEntity.ok({{=serviceVarName}}.paginQuery({{=beanVarName}}, pageRequest));\n    }\n    $blankline\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    @ApiOperation(\"新增数据\")\n    @PostMapping\n    public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n    }\n    $blankline\n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    @ApiOperation(\"更新数据\")\n    @PutMapping\n    public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n    }\n    $blankline\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    @ApiOperation(\"通过主键删除数据\")\n    @DeleteMapping\n    public ResponseEntity<Boolean> deleteById({{=pkDataType}} {{=pkVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n    }\n}",
        "Service": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.service;\n$blankline\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n    \n    /** \n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param pageRequest 分页对象\n     * @return 查询结果\n     */\n    Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest);\n\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n    \n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
        "ServiceImpl": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkVarNameU = \"UndefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkVarNameU = it.func.camel(field.defKey,true);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    var mapperName = beanVarName+'Mapper';\n    \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n    @Autowired\n    private {{=beanClass}}Mapper {{=mapperName}};\n    $blankline\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n        return {{=mapperName}}.queryById({{=pkVarName}});\n    }\n    $blankline\n    /** \n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param pageRequest 分页对象\n     * @return 查询结果\n     */\n    public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n        long total = {{=mapperName}}.count({{=beanVarName}});\n        return new PageImpl<>({{=mapperName}}.queryAllByLimit({{=beanVarName}}, pageRequest), pageRequest, total);\n    }\n    $blankline\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n        {{=mapperName}}.insert({{=beanVarName}});\n        return {{=beanVarName}};\n    }\n    $blankline\n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n        {{=mapperName}}.update({{=beanVarName}});\n        return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n    }\n    $blankline\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n        int total = {{=mapperName}}.deleteById({{=pkVarName}});\n        return total > 0;\n    }\n}",
        "Mapper": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.mapper;\n$blankline\nimport java.util.List;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.data.domain.Pageable;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper{\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n    \n    /** \n     * 分页查询指定行数据\n     *\n     * @param {{=beanVarName}} 查询条件\n     * @param pageable 分页对象\n     * @return 对象列表\n     */\n    List<{{=beanClass}}> queryAllByLimit({{=beanClass}} {{=beanVarName}}, @Param(\"pageable\") Pageable pageable);\n\n    /** \n     * 统计总行数\n     *\n     * @param {{=beanVarName}} 查询条件\n     * @return 总行数\n     */\n    long count({{=beanClass}} {{=beanVarName}});\n\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 影响行数\n     */\n    int insert({{=beanClass}} {{=beanVarName}});\n\n    /** \n     * 批量新增数据\n     *\n     * @param entities List<{{=beanClass}}> 实例对象列表\n     * @return 影响行数\n     */\n    int insertBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n    \n    /** \n     * 批量新增或按主键更新数据\n     *\n     * @param entities List<{{=beanClass}}> 实例对象列表\n     * @return 影响行数\n     */\n    int insertOrUpdateBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n    \n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 影响行数\n     */\n    int update({{=beanClass}} {{=beanVarName}});\n\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 影响行数\n     */\n    int deleteById({{=pkDataType}} {{=pkVarName}});\n}",
        "Mapper.xml": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    var pkField = \"UNDEFINED_ID\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkField = field.defKey;\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n    <resultMap type=\"{{=pkgName}}.entity.{{=beanClass}}\" id=\"{{=beanClass}}Map\">\n    {{~it.entity.fields:field:index}}\n        <result property=\"{{=it.func.camel(field.defKey,false)}}\" column=\"{{=field.defKey}}\" jdbcType=\"{{=field.dbType}}\"/>\n    {{~}}\n    </resultMap>\n    $blankline\n    <!-- 通过ID查询单条数据 -->\n    <select id=\"queryById\" resultMap=\"{{=beanClass}}Map\">\n        select\n            {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n        from {{=it.entity.defKey}}\n        where {{=pkField}} = #{{{=pkVarName}}}\n    </select>\n    $blankline\n    <!--分页查询指定行数据-->\n    <select id=\"queryAllByLimit\" resultMap=\"{{=beanClass}}Map\">\n        select\n            {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n        from {{=it.entity.defKey}}\n        <where>\n        {{~it.entity.fields:field:index}}\n            <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n                and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n            </if>\n        {{~}}\n        </where>\n        limit #{pageable.offset}, #{pageable.pageSize}\n    </select>\n    $blankline\n    <!--统计总行数-->\n    <select id=\"count\" resultType=\"java.lang.Long\">\n        select count(1)\n        from {{=it.entity.defKey}}\n        <where>\n        {{~it.entity.fields:field:index}}\n            <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n                and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n            </if>\n        {{~}}\n        </where>\n    </select>\n    $blankline\n    <!--新增数据-->\n    <insert id=\"insert\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n        insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n        values ({{=it.entity.fields.map(function(e,i){return '#{'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n    </insert>\n    $blankline\n    <!-- 批量新增数据 -->\n    <insert id=\"insertBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n        insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n        values\n        <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n            ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n        </foreach>\n    </insert>\n    $blankline\n    <!-- 批量新增或按主键更新数据 -->\n    <insert id=\"insertOrUpdateBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n        insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n        values\n        <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n            ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n        </foreach>\n        on duplicate key update\n        {{=it.entity.fields.map(function(e,i){return e.defKey + '=values('+e.defKey+')'}).join(',\\n\\t\\t')}}\n    </insert>\n    $blankline\n    <!-- 更新数据 -->\n    <update id=\"update\">\n        update {{=it.entity.defKey}}\n        <set>\n        {{~it.entity.fields:field:index}}\n            <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n                {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}},\n            </if>\n        {{~}}\n        </set>\n        where {{=pkField}} = #{{{=pkVarName}}}\n    </update>\n    $blankline\n    <!--通过主键删除-->\n    <delete id=\"deleteById\">\n        delete from {{=it.entity.defKey}} where {{=pkField}} = #{{{=pkVarName}}}\n    </delete>\n</mapper>\n\n",
        "Entity": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n    private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n        return this.{{=it.func.camel(field.defKey,false)}};\n    }\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n        this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n    }\n{{~}}\n}"
      },
      {
        "applyFor": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073",
        "type": "appCode",
        "Controller": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.controller;\n$blankline\nimport java.util.List;\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n    @Autowired\n    private {{=serviceClass}} {{=serviceVarName}};\n    $blankline\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    @ApiOperation(\"通过ID查询单条数据\")\n    @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n    public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n    }\n    $blankline\n    /** \n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param pageRequest 分页对象\n     * @return 查询结果\n     */\n    @ApiOperation(\"分页查询\")\n    @GetMapping\n    public ResponseEntity<PageImpl<{{=beanClass}}>> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n        //1.分页参数\n        long current = pageRequest.getPageNumber();\n        long size = pageRequest.getPageSize();\n\n        //2.分页查询\n        /*把Mybatis的分页对象做封装转换，MP的分页对象上有一些SQL敏感信息，还是通过spring的分页模型来封装数据吧*/\n        com.baomidou.mybatisplus.extension.plugins.pagination.Page<{{=beanClass}}> pageResult = {{=serviceVarName}}.paginQuery({{=beanVarName}}, current,size);\n\n        //3. 分页结果组装\n        List<{{=beanClass}}> dataList = pageResult.getRecords();\n        long total = pageResult.getTotal();\n        PageImpl<{{=beanClass}}> retPage = new PageImpl<{{=beanClass}}>(dataList,pageRequest,total);\n        return ResponseEntity.ok(retPage);\n    }\n    $blankline\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    @ApiOperation(\"新增数据\")\n    @PostMapping\n    public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n    }\n    $blankline\n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    @ApiOperation(\"更新数据\")\n    @PutMapping\n    public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n    }\n    $blankline\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    @ApiOperation(\"通过主键删除数据\")\n    @DeleteMapping\n    public ResponseEntity<Boolean> deleteById({{=pkDataType}} {{=pkVarName}}){\n        return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n    }\n}",
        "Service": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.service;\n$blankline\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n    $blankline\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n    $blankline\n    /**\n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param current 当前页码\n     * @param size  每页大小\n     * @return\n     */\n    Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size);\n\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n    \n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
        "ServiceImpl": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkVarNameU = \"UndefinedId\";\n    var pkFieldKey = \"UNDEFINED\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkFieldKey = field.defKey;\n            pkVarName = it.func.camel(field.defKey,false);\n            pkVarNameU = it.func.camel(field.defKey,true);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    var mapperName = beanVarName+'Mapper';\n    \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport cn.hutool.core.util.StrUtil;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;\nimport com.baomidou.mybatisplus.extension.conditions.update.LambdaUpdateChainWrapper;\n\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n    @Autowired\n    private {{=beanClass}}Mapper {{=mapperName}};\n    $blankline\n    /** \n     * 通过ID查询单条数据 \n     *\n     * @param {{=pkVarName}} 主键\n     * @return 实例对象\n     */\n    public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n        return {{=mapperName}}.selectById({{=pkVarName}});\n    }\n    $blankline\n    /**\n     * 分页查询\n     *\n     * @param {{=beanVarName}} 筛选条件\n     * @param current 当前页码\n     * @param size  每页大小\n     * @return\n     */\n    public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size){\n        //1. 构建动态查询条件\n        LambdaQueryWrapper<{{=beanClass}}> queryWrapper = new LambdaQueryWrapper<>();\n        {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n        if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n            queryWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n        }\n        {{~}}\n\n        //2. 执行分页查询\n        Page<{{=beanClass}}> pagin = new Page<>(current , size , true);\n        IPage<{{=beanClass}}> selectResult = {{=mapperName}}.selectByPage(pagin , queryWrapper);\n        pagin.setPages(selectResult.getPages());\n        pagin.setTotal(selectResult.getTotal());\n        pagin.setRecords(selectResult.getRecords());\n\n        //3. 返回结果\n        return pagin;\n    }\n    $blankline\n    /** \n     * 新增数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n        {{=mapperName}}.insert({{=beanVarName}});\n        return {{=beanVarName}};\n    }\n    $blankline\n    /** \n     * 更新数据\n     *\n     * @param {{=beanVarName}} 实例对象\n     * @return 实例对象\n     */\n    public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n        //1. 根据条件动态更新\n        LambdaUpdateChainWrapper<{{=beanClass}}> chainWrapper = new LambdaUpdateChainWrapper<{{=beanClass}}>({{=mapperName}});\n        {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n        if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n            chainWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n        }\n        {{~}}\n        //2. 设置主键，并更新\n        chainWrapper.set({{=beanClass}}::get{{=pkVarNameU}}, {{=beanVarName}}.get{{=pkVarNameU}}());\n        boolean ret = chainWrapper.update();\n        //3. 更新成功了，查询最最对象返回\n        if(ret){\n            return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n        }else{\n            return {{=beanVarName}};\n        }\n    }\n    $blankline\n    /** \n     * 通过主键删除数据\n     *\n     * @param {{=pkVarName}} 主键\n     * @return 是否成功\n     */\n    public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n        int total = {{=mapperName}}.deleteById({{=pkVarName}});\n        return total > 0;\n    }\n}",
        "Mapper": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.mapper;\n$blankline\n\nimport com.baomidou.mybatisplus.core.conditions.Wrapper;\nimport com.baomidou.mybatisplus.core.mapper.BaseMapper;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.core.toolkit.Constants;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper  extends BaseMapper<{{=beanClass}}>{\n    /** \n     * 分页查询指定行数据\n     *\n     * @param page 分页参数\n     * @param wrapper 动态查询条件\n     * @return 分页对象列表\n     */\n    IPage<{{=beanClass}}> selectByPage(IPage<{{=beanClass}}> page , @Param(Constants.WRAPPER) Wrapper<{{=beanClass}}> wrapper);\n}",
        "Mapper.xml": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    var pkField = \"UNDEFINED_ID\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkField = field.defKey;\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n$blankline\n\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n     <select id=\"selectByPage\" resultType=\"{{=pkgName}}.entity.{{=beanClass}}\">\n        select * from user ${ew.customSqlSegment}\n    </select>\n</mapper>\n\n",
        "Entity": "{{  var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1;\n    var days=today.getDate();\n    \n    var pkVarName = \"undefinedId\";\n    var pkDataType = \"String\";\n    it.entity.fields.forEach(function(field){\n        if(field.primaryKey){\n            pkVarName = it.func.camel(field.defKey,false);\n            pkDataType = field[\"type\"];\n            return;\n        }\n    });\n    \n    var pkgName = it.entity.env.base.nameSpace;\n    var beanClass = it.entity.env.base.codeRoot;\n    var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n    var serviceClass = beanClass+'Service';\n    var serviceVarName= beanVarName+'Service';\n    \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport com.baomidou.mybatisplus.annotation.TableName;\nimport com.baomidou.mybatisplus.annotation.TableId;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@TableName(\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n    {{? field.primaryKey }}\n    @TableId\n    {{?}}\n    private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n        return this.{{=it.func.camel(field.defKey,false)}};\n    }\n    /** {{=it.func.join(field.defName,field.comment,';')}} */\n    public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n        this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n    }\n{{~}}\n}"
      },
      {
        "applyFor": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2",
        "type": "dbDDL",
        "createTable": "/**字段名,关键字等全部用的小写*/\ndrop table if exists {{=it.entity.defKey}};\n/**补充上库名,external关键字根据建表规范看是否添加*/\ncreate [external] table if not exists {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n/**这里把varchar,char,text,date,datetime字段全部映射为string类型.tinyint unsigned,bit,Integer,tinyint,smallint,mediumint映射为int类型,int unsigned映射为bigint.其它自定义映射规则根据自己情况修改*/\n/**当长度>0只有为decimal类型或double类型时才保留长度和小数的位数*/\n{{~it.entity.fields:field:index}}\n    {{=it.func.lowerCase(field.defKey)}} {{=it.func.lowerCase(field.dbType)=='varchar'||it.func.lowerCase(field.dbType)=='char'||it.func.lowerCase(field.dbType)=='text'||it.func.lowerCase(field.dbType)=='date'||it.func.lowerCase(field.dbType)=='datetime' ? 'string':it.func.lowerCase(field.dbType)=='tinyint unsigned'||it.func.lowerCase(field.dbType)=='bit'||it.func.lowerCase(field.dbType)=='integer'||it.func.lowerCase(field.dbType)=='tinyint'||it.func.lowerCase(field.dbType)=='smallint'||it.func.lowerCase(field.dbType)=='mediumint' ? 'int':it.func.lowerCase(field.dbType)=='int unsigned' ? 'bigint':it.func.lowerCase(field.dbType)}}{{?field.len>0&&(it.func.lowerCase(field.dbType)=='decimal'||it.func.lowerCase(field.dbType)=='double')}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{=')'}}{{?}}{{?}} comment '{{=it.func.join(field.defName,field.comment,'')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n{{?}}\n)\n{{\n    let partitionedBy = it.entity.properties['partitioned by'];\n    partitionedBy = partitionedBy?partitionedBy:'请在扩展属性中配置[partitioned by]属性';\n}}\ncomment '{{=it.func.join(it.entity.defName,';') }}'\n/**是否分区表,分区字段名和字段注释自定义*/\n[partitioned by {{=partitionedBy}}]\n/**文件存储格式自定义*/\n[stored as orc]\n/**hdfs上的地址自定义*/\n[location xxx]\n;",
        "createView": "",
        "deleteTable": "",
        "createIndex": "",
        "deleteIndex": "",
        "message": "",
        "update": ""
      },
      {
        "applyFor": "B91D99E0-9B7C-416C-8737-B760957DAF09",
        "type": "appCode",
        "content": "{{\n    var today=new Date();\n    var fullYear=today.getFullYear();\n    var month=today.getMonth() + 1<10?\"0\"+today.getMonth():today.getMonth();\n    var days=today.getDate()<10?\"0\"+today.getDate():today.getDate();\n    var hours = today.getHours()<10?\"0\"+today.getHours():today.getHours();         \n\tvar minutes = today.getMinutes()<10?\"0\"+today.getMinutes():today.getMinutes();      \n\tvar seconds = today.getSeconds()<10?\"0\"+today.getSeconds():today.getSeconds();    \n}}\n// Package models  {{=it.func.join(it.entity.defName,it.entity.comment,'，')}}\n// author : http://www.liyang.love\n// date : {{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n// desc : {{=it.func.join(it.entity.defName,it.entity.comment,'，')}}\npackage models\n\n$blankline\n\n// {{=it.func.camel(it.entity.defKey,true) }}  {{=it.func.join(it.entity.defName,it.entity.comment,'，')}}。\n// 说明:{{=it.entity.comment}}\n// 表名:{{=it.entity.defKey}}\n// group: {{=it.func.camel(it.entity.defKey,true) }}\n// obsolete:\n// appliesto:go 1.8+;\n// namespace:hongmouer.his.models.{{=it.func.camel(it.entity.defKey,true) }}\n// assembly: hongmouer.his.models.go\n// class:HongMouer.HIS.Models.{{=it.func.camel(it.entity.defKey,true) }}\n// version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\ntype {{=it.func.camel(it.entity.defKey,true) }} struct {\n    {{~it.entity.fields:field:index}}\n    {{=formatGoLang(it.func.camel(field.defKey,true),null,field,it.entity.fields,null,1)}} {{=formatGoLang(field.type,\"type\",field,it.entity.fields,10,3)}}  `gorm:\"column:{{=field.primaryKey?\"primaryKey;\":\"\"}}{{=field.defKey}}\" json:\"{{=it.func.camel(field.defKey,true)}}\"` {{=formatGoLang(\"gorm:column:\"+field.defKey+\" json:\"+it.func.camel(field.defKey,true),null,field,it.entity.fields,null,2)}}  //type:{{=formatGoLang(field.type,\"type\",field,it.entity.fields,null,3)}}  comment:{{=formatGoLang(it.func.join(field.defName,field.comment,';'),\"defName\",field,it.entity.fields,null,4)}}  version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n    {{~}}\n}\n\n\n$blankline\n// TableName 表名:{{=it.entity.defKey}}，{{=it.entity.defName}}。\n// 说明:{{=it.entity.comment}}\nfunc (ZentaoUserInfo) TableName() string {\n\treturn \"{{=it.entity.defKey}}\"\n}\n\n{{\n\nfunction formatGoLang(str, fieldName, field, fileds, emptLength, isFiled) {\n    var maxLength = 0;\n\n    if (isFiled == 1) {\n        for (var i = 0; i < fileds.length; i++) {\n            if (getBlength(it.func.camel(fileds[i].defKey, true)) > maxLength) {\n                maxLength = getBlength(it.func.camel(fileds[i].defKey, true)) + 2;\n            }\n        }\n    } else if (isFiled == 2) {\n        for (var i = 0; i < fileds.length; i++) {\n            var newStr = \"gorm:column:\" + fileds[i].defKey + \" json:\" + it.func.camel(fileds[i].defKey, true);\n            if (getBlength(newStr) > maxLength) {\n                maxLength = getBlength(newStr) + 2;\n            }\n        }\n        var empt = \"\";\n        var strLength = getBlength(str);\n        if (field.primaryKey) {\n            strLength += getBlength(\"primaryKey;\");\n        }\n        for (var j = 0; j < maxLength - strLength; j++) {\n            empt += ' ';\n        }\n        return empt;\n    } else if (isFiled == 3) {\n        /*获取某个字段的最大长度*/\n        for (var i = 0; i < fileds.length; i++) {\n            var newStr = eval(\"fileds[\" + i + \"].\" + fieldName);\n            if (getBlength(newStr) > maxLength) {\n                maxLength = getBlength(newStr) + 1;\n            }\n        }\n    } else if (isFiled == 4) {\n        /*获取某个字段的最大长度*/\n        for (var i = 0; i < fileds.length; i++) {\n            var newStr = fileds[i].comment + \";\" + fileds[i].defName;\n            if (getBlength(newStr) > maxLength) {\n                maxLength = getBlength(newStr) + 1;\n            }\n        }\n    }\n    else {\n        maxLength = emptLength;\n    }\n\n    var strLength = getBlength(str);\n    for (var j = 0; j < maxLength - strLength; j++) {\n        str += ' ';\n    }\n    return str;\n}\n\nfunction getBlength(str) {\n    var n = 0;\n    for (var i = str.length; i--;) {\n        n += str.charCodeAt(i) > 255 ? 2 : 1;\n    }\n    return n;\n} \n\n}}"
      }
    ],
    "generatorDoc": {
      "docTemplate": ""
    },
    "relationFieldSize": 150,
    "uiHint": [
      {
        "defKey": "Input",
        "defName": "普通输入框",
        "id": "A7C85887-8123-4C09-837D-0283DB5F32B8"
      },
      {
        "defKey": "Select",
        "defName": "下拉输入框",
        "id": "FF9B57D2-3CD5-4FE1-A3F8-46E8AD64966D"
      },
      {
        "defKey": "CheckBox",
        "defName": "复选框",
        "id": "5436473C-1454-4544-A1F7-2C4E96CCFE50"
      },
      {
        "defKey": "RadioBox",
        "defName": "单选框",
        "id": "48F80CF0-9C47-443A-B383-201EC728608B"
      },
      {
        "defKey": "Double",
        "defName": "小数输入",
        "id": "C14F6C1B-A972-4E77-BFE2-C6FB9A0A639B"
      },
      {
        "defKey": "Integer",
        "defName": "整数输入",
        "id": "3DEEB60B-3E00-41F9-B533-5A428951D3E6"
      },
      {
        "defKey": "Money",
        "defName": "金额输入",
        "id": "0B0D6ADA-7AB8-48BB-9EFC-F48A74D7414B"
      },
      {
        "defKey": "Date",
        "defName": "日期输入",
        "id": "5E0F77AA-3026-41DF-A002-38E1519227BA"
      },
      {
        "defKey": "DataYearMonth",
        "defName": "年月输入",
        "id": "F24EE072-F147-46D2-A1B6-D0800749B6FB"
      },
      {
        "defKey": "Text",
        "defName": "长文本输入",
        "id": "4CC30E8D-88B3-43A9-A707-ECDAB1153248"
      },
      {
        "defKey": "RichText",
        "defName": "富文本输入",
        "id": "B90BD13F-FC59-4136-BF52-273F0252BF02"
      }
    ],
    "menuWidth": "352px",
    "headers": [
      {
        "refKey": "defKey",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "defName",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "primaryKey",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "notNull",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "autoIncrement",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "domain",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "type",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "len",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "scale",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "comment",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "refDict",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "defaultValue",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "isStandard",
        "hideInGraph": false,
        "freeze": false
      },
      {
        "refKey": "uiHint",
        "hideInGraph": true,
        "freeze": false
      },
      {
        "refKey": "extProps",
        "hideInGraph": true,
        "freeze": false
      }
    ]
  },
  "entities": [
    {
      "id": "2F64CFB5-E0AA-49C4-AA8F-83F6F564A0A2",
      "defKey": "sys_user_company",
      "defName": "用户单位关联",
      "comment": "",
      "properties": {},
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "fields": [
        {
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": 0,
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": true,
          "domain": "",
          "refDict": "",
          "uiHint": "",
          "id": "1758C22F-5446-4D9F-9860-438134E80799"
        },
        {
          "defKey": "user_id",
          "defName": "用户主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "0BDDF860-8894-4148-AE02-2D39C2D6E12A"
        },
        {
          "defKey": "company_id",
          "defName": "单位主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "5A531BB6-372A-4C60-B085-765110D1608E"
        },
        {
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "0851A42B-4445-4F8B-A78A-5EF7D423CD61"
        },
        {
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "615185D3-535F-40F5-8F9A-733B1348099E"
        }
      ],
      "correlations": [],
      "indexes": []
    },
    {
      "id": "25496A4E-EA9A-45D8-90B6-10C3A22A21E2",
      "defKey": "sys_person",
      "defName": "人员信息",
      "comment": "",
      "properties": {},
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true,
          "code": "relationNoShow",
          "value": "关系图",
          "newCode": "hideInGraph",
          "com": "Icon",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false,
          "code": "name",
          "value": "字段代码",
          "newCode": "defKey",
          "com": "Input",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false,
          "code": "chnname",
          "value": "显示名称",
          "newCode": "defName",
          "com": "Input",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false,
          "code": "pk",
          "value": "主键",
          "newCode": "primaryKey",
          "com": "Checkbox",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true,
          "code": "notNull",
          "value": "不为空",
          "newCode": "notNull",
          "com": "Checkbox",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true,
          "code": "autoIncrement",
          "value": "自增",
          "newCode": "autoIncrement",
          "com": "Checkbox",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true,
          "code": "type",
          "value": "数据域",
          "newCode": "domain",
          "com": "Select",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false,
          "code": "dataType",
          "value": "数据类型",
          "newCode": "type",
          "com": "Text",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false,
          "code": "len",
          "value": "长度",
          "newCode": "len",
          "com": "Input",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false,
          "code": "scale",
          "value": "小数位数",
          "newCode": "scale",
          "com": "Input",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true,
          "code": "remark",
          "value": "说明",
          "newCode": "comment",
          "com": "Input",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true,
          "code": "refDict",
          "value": "数据字典",
          "newCode": "refDict",
          "com": "SearchSelect",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true,
          "code": "defaultValue",
          "value": "默认值",
          "newCode": "defaultValue",
          "com": "Input",
          "relationNoShow": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false,
          "code": "isStandard",
          "value": "标准字段",
          "newCode": "isStandard",
          "com": "label",
          "relationNoShow": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true,
          "code": "uiHint",
          "value": "UI建议",
          "newCode": "uiHint",
          "com": "Select",
          "relationNoShow": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "fields": [
        {
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": 0,
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "domain": "",
          "refDict": "",
          "uiHint": "",
          "id": "BA3F04BC-43DD-446B-8185-3DB80ABB0711"
        },
        {
          "defKey": "full_name",
          "defName": "姓名",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7A80F4A6-D1B5-4923-9FBD-0B402FB22C91"
        },
        {
          "defKey": "age",
          "defName": "年龄",
          "comment": "",
          "type": "INT",
          "len": 4,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7A721853-65E5-4A0E-946F-83D8E226DF6F"
        },
        {
          "defKey": "gender",
          "defName": "性别",
          "comment": "1男、2女",
          "type": "INT",
          "len": 1,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "084F36F7-4828-4166-9C85-51D07D2E000B"
        },
        {
          "defKey": "address",
          "defName": "家庭住址",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "236657EF-7DA7-4077-B499-128D62AC534E"
        },
        {
          "defKey": "education_degree",
          "defName": "文化程度",
          "comment": "1小学、2初中、3高中、4大专、5本科、6硕士研究生、7博士研究生、8其他",
          "type": "INT",
          "len": 1,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "05FE8B83-F7B2-4533-A826-8A4861BD978C"
        },
        {
          "defKey": "id_number",
          "defName": "身份证号",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "54B16F6B-6512-494E-98F4-65539E420509"
        },
        {
          "defKey": "link_phone",
          "defName": "联系方式",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "94FD1541-F576-4AE5-9152-3D70598FF8A6"
        },
        {
          "defKey": "post_id",
          "defName": "岗位ID",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "F7EABB8F-91CF-464B-9AE9-3ED276712D65",
          "id": "D721721B-598E-46D3-B18C-1A0D9732AC49"
        },
        {
          "defKey": "dept_id",
          "defName": "部门ID",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "F7EABB8F-91CF-464B-9AE9-3ED276712D65",
          "id": "C34BEB00-B4E1-4155-A4CF-60FAC150B254"
        },
        {
          "defKey": "entry_time",
          "defName": "入职时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "A665DD74-BEC0-405D-9B1E-4F099EEF5288"
        },
        {
          "defKey": "certificate_url1",
          "defName": "证书1",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "2F1E1808-5B72-4574-A503-D10429A92C17"
        },
        {
          "defKey": "certificate_url2",
          "defName": "证书2",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "EEC73B7C-E706-4995-AA67-E4022E6CDFAD"
        },
        {
          "defKey": "certificate_url3",
          "defName": "证书3",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "EAB51A23-0ED6-4B5F-8676-652522536C7E"
        },
        {
          "defKey": "enable",
          "defName": "使能标识",
          "comment": "1：开通 、2：待定 、3：注销",
          "type": "INT",
          "len": 1,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "49ABBF67-C2C3-473B-9D76-470E2F95150A"
        },
        {
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "EA03C9CA-8DC7-47AE-A0F2-44284BB40F67"
        },
        {
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "7CB01D80-2391-4603-8B81-F2D7E03E1BA1"
        },
        {
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "B407E09A-045A-44F2-9E45-3AC20A6D8BA8"
        },
        {
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "776D6EEE-9D23-458D-888E-5DC66DBBC3CD"
        }
      ],
      "correlations": [],
      "indexes": []
    },
    {
      "id": "D4B94145-A684-4904-B222-EE3A74C43D31",
      "defKey": "base_company",
      "defName": "联网单位信息表",
      "comment": "",
      "properties": {},
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "fields": [
        {
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": 0,
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "domain": "",
          "refDict": "",
          "uiHint": "",
          "id": "24FA2E5C-9873-4598-A39A-A0E3430483AE"
        },
        {
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "178E6545-DF64-49BD-9CF2-990A8F1EF1C6"
        },
        {
          "defKey": "company_code",
          "defName": "单位编号",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E5146D6F-A57C-41AC-87C4-90DC40DBA810"
        },
        {
          "defKey": "organization",
          "defName": "组织机构编码",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "A105ACC8-3CC7-47C3-87D4-8C85F24A0212"
        },
        {
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "DE7E07C3-7C2A-4416-BF7C-4F5904965E83"
        },
        {
          "defKey": "name_abbreviation",
          "defName": "单位拼音简称",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "288694E9-5BA2-4779-83C0-27F58E1D2F79"
        },
        {
          "defKey": "company_type",
          "defName": "单位类型",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "5EF14287-48A1-44BE-AC7A-2F26AC26ECFA"
        },
        {
          "defKey": "address",
          "defName": "单位详细地址",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E7E0B8C3-A86E-472D-BED4-EE9AAE28AB90"
        },
        {
          "defKey": "fire_hazard",
          "defName": "火灾危险性",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "02D0527A-397E-41B1-8F7A-AA13A29C9898"
        },
        {
          "defKey": "postal_code",
          "defName": "邮政编码",
          "comment": "",
          "type": "INT",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "69EBEADD-D88B-4023-ABFE-64D653A38C7C"
        },
        {
          "defKey": "mailbox",
          "defName": "邮箱",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "67D918C0-2AA5-4E2D-A41B-874749DADBC7"
        },
        {
          "defKey": "link_person",
          "defName": "单位联系人",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "6B788C25-6D22-44A1-973F-74FEBEFA3E4E"
        },
        {
          "defKey": "link_phone",
          "defName": "单位联系电话",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "00E30EF3-9F8B-4168-9554-9EAF28259E4C"
        },
        {
          "defKey": "company_fax",
          "defName": "单位传真",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "589C36A4-6ED4-4EC0-9DA6-A425F450F4D8"
        },
        {
          "defKey": "economic_ownership",
          "defName": "经济所有制",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "FFA7882D-1774-41D3-B81A-811A704203C1"
        },
        {
          "defKey": "found_time",
          "defName": "单位成立时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "9ACB5BFA-A2A5-40B9-B4F0-EB7CAB8CDE75"
        },
        {
          "defKey": "upper_name",
          "defName": "上级主管单位",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "9C8AA0DB-2398-432E-9F09-271A0B40532C"
        },
        {
          "defKey": "company_grade",
          "defName": "单位等级",
          "comment": "",
          "type": "INT",
          "len": 4,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "39BA65E6-7B31-4FE7-A802-176BAEA15867"
        },
        {
          "defKey": "company_nature",
          "defName": "单位性质",
          "comment": "",
          "type": "INT",
          "len": 4,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "91F30702-F5F8-432B-99F8-25E3CF42785A"
        },
        {
          "defKey": "administrative_division",
          "defName": "行政区域",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "15A85695-2FD6-42CB-A16B-89E6C5CC42D2"
        },
        {
          "defKey": "division_name",
          "defName": "行政区域名称",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "045181D9-5A61-4853-BD9F-3ED43602476B"
        },
        {
          "defKey": "fire_jurisdiction",
          "defName": "消防管辖",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "A05660A1-6BBA-4639-8C04-F5C39D7B838F"
        },
        {
          "defKey": "detachment_id",
          "defName": "支队级机构ID填充",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "4E0D41B2-9653-4EE2-962F-9BB7A1196955"
        },
        {
          "defKey": "detachment_name",
          "defName": "支队级机构简称",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3083BDB6-EF16-441D-8674-E91CCD53209B"
        },
        {
          "defKey": "govern_body",
          "defName": "管辖机构（含大队）",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "5A49C28E-B27A-4673-AEFB-4DE476259121"
        },
        {
          "defKey": "main_attribute_type",
          "defName": "单位属性主分类",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "29A06489-C176-4B97-BC2E-D853C5111245"
        },
        {
          "defKey": "main_attribute",
          "defName": "单位主属性",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "C4CA35E5-9B40-476A-AF78-F7BCFE643C15"
        },
        {
          "defKey": "son_attribute",
          "defName": "单位子属性",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "03F24705-9C45-461C-AD74-2578A148E04F"
        },
        {
          "defKey": "fixed_assets",
          "defName": "固定资产",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "B631364F-B7AC-422E-9A06-10AEC8D3FC8C"
        },
        {
          "defKey": "employee_num",
          "defName": "职工人数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "781CC4C5-FF17-41A9-9AD8-3E046FDB4EBE"
        },
        {
          "defKey": "business_max_num",
          "defName": "营业时最大人数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "5DAA12B3-2A0A-471B-B0CC-BD3D5B0FFB72"
        },
        {
          "defKey": "cover_area",
          "defName": "占地面积",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "B0E2FC19-63CB-499B-9640-CFEEEF144C2D"
        },
        {
          "defKey": "build_area",
          "defName": "建筑面积",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "186BD091-43D7-4974-84DB-178D3A941216"
        },
        {
          "defKey": "auto_fire_facilities",
          "defName": "自动消防设施情况",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7F1AD761-4DC8-408C-84CF-B704DB13BB69"
        },
        {
          "defKey": "longitude",
          "defName": "经度",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "62A0BED9-5264-4FC6-83E0-3E6A08EFFC28"
        },
        {
          "defKey": "latitude",
          "defName": "纬度",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7E3EB3F2-06CF-42B8-BB28-B1251DB209D1"
        },
        {
          "defKey": "geography",
          "defName": "地理情况",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "FCBEF1D0-EB9A-424F-8720-1CEC731D234E"
        },
        {
          "defKey": "refuge_floor",
          "defName": "有无避难层",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "9E7DF70E-0D5F-41DB-A326-1B6E12EE26C1"
        },
        {
          "defKey": "refuge_floor_num",
          "defName": "避难层数量",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "9B7C2E11-D281-48A6-A012-FDC6CB3FCB04"
        },
        {
          "defKey": "refuge_floor_area",
          "defName": "避难层面积",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "F09ABD2F-A805-413C-A7EE-CD13A6274216"
        },
        {
          "defKey": "refuge_floor_position",
          "defName": "避难层位置",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7E121112-3436-492A-8AEE-E539A444ECF8"
        },
        {
          "defKey": "remarks",
          "defName": "备注",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "271B4BD4-FCF4-43E8-BD8C-F31C6CE3D726"
        },
        {
          "defKey": "plan_name",
          "defName": "单位平面图名称",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3F4F6515-D14B-46C5-BCAB-386A664D8468"
        },
        {
          "defKey": "plan_url",
          "defName": "单位平面图存放地址",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "89DFF651-2A79-41B8-BDAA-1A58E69D078C"
        },
        {
          "defKey": "build_num",
          "defName": "建筑数量",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "47EBB9AB-3267-4526-BFD7-0A6AC053C12C"
        },
        {
          "defKey": "superior_fire_jurisdiction",
          "defName": "上级消防管辖单位",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "C1C76FCA-D41C-4086-863B-A77D2093AFB4"
        },
        {
          "defKey": "actual_company_id",
          "defName": "实际单位ID",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "00179730-EB41-45FF-9591-626C3739CECE"
        },
        {
          "defKey": "gl_id",
          "defName": "GLID",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3EE56564-1A49-4BD4-8394-90AA6C3FA4B5"
        },
        {
          "defKey": "determine_key_time",
          "defName": "确定重点单位时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "90506B5C-A36A-48C8-BA31-042FCCE8588E"
        },
        {
          "defKey": "cancel_key_time",
          "defName": "取消重点单位时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "58AFE734-EA2D-4A8C-8E12-D7B311896DF2"
        },
        {
          "defKey": "operation_type",
          "defName": "操作类型",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7415561E-A7CC-43E6-9200-0BCACB485433"
        },
        {
          "defKey": "old_company_id",
          "defName": "老的单位ID",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "460197F0-CB3A-4C3E-A04E-7D5619BD3485"
        },
        {
          "defKey": "enable",
          "defName": "删除标记",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "6FA55C30-A930-44DB-B6DA-FCC7129BF980"
        },
        {
          "defKey": "volunteer_fireman_num",
          "defName": "义务消防员数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "10A81E37-DB1D-4BC8-9826-B4B084AE3A34"
        },
        {
          "defKey": "self_rescue_measures",
          "defName": "消防自救措施",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "318672EB-00DD-41C8-9FEB-628C6E5765EA"
        },
        {
          "defKey": "peripheral_fire_facilities",
          "defName": "外围消防设施",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "1D5CD0E4-96A0-4449-8E80-C8884A309B8B"
        },
        {
          "defKey": "historical_disaster",
          "defName": "历史灾情",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "3E732CDC-DE46-45DC-9B07-7A47875981F7"
        },
        {
          "defKey": "adjacent_east",
          "defName": "毗邻单位东",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E916F4F4-7CFB-4118-8E9D-39CD986F631B"
        },
        {
          "defKey": "adjacent_south",
          "defName": "毗邻单位南",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7DE2BC18-1BCD-4CF4-AB72-F82F24F3E432"
        },
        {
          "defKey": "adjacent_west",
          "defName": "毗邻单位西",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "2F491A66-A523-4CD8-A383-FE37658C56D2"
        },
        {
          "defKey": "adjacent_north",
          "defName": "毗邻单位北",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "14A428AF-F74B-4DFA-99CC-C0B2DA2A6431"
        },
        {
          "defKey": "safety_exits_num",
          "defName": "安全出口数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E1E62E5B-A619-4C5D-8B23-61C7B7816AFA"
        },
        {
          "defKey": "fire_lane_num",
          "defName": "消防车道数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "C80705FC-652C-43B7-A255-A13A1A50EB89"
        },
        {
          "defKey": "fire_lane_position",
          "defName": "消防车道位置",
          "comment": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7714A11D-888F-42AA-9C98-1CF31B140C15"
        },
        {
          "defKey": "sparse_elevator_num",
          "defName": "疏散电梯数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "9E6C2113-3508-4738-9F9C-F20082C69D94"
        },
        {
          "defKey": "fire_elevator_num",
          "defName": "消防电梯数",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "6F9B7F86-119F-448C-9BFE-257D39ADF960"
        },
        {
          "defKey": "gas_type",
          "defName": "燃气类型",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "1BC71E87-0852-4895-A820-19A0BB19EF0C"
        },
        {
          "defKey": "archives_person",
          "defName": "档案负责人",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "695538F6-C749-486D-AF8B-ECDF29ACC7A6"
        },
        {
          "defKey": "archives_input_person",
          "defName": "消防监督监管（档案录入人）",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "5213E84E-CD14-4960-A835-CF8F1AF10454"
        },
        {
          "defKey": "filing_person",
          "defName": "建档用户",
          "comment": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "23D14C1E-F989-4660-A966-0630DF4C84BF"
        },
        {
          "defKey": "filing_person_name",
          "defName": "建档用户姓名",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E2F64C76-E186-46A0-9BCA-566873D6874E"
        },
        {
          "defKey": "data_exchange_mark",
          "defName": "数据交换标记",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3282833C-D60B-43AC-8E71-1FF9D88CCB94"
        },
        {
          "defKey": "data_exchange_time",
          "defName": "数据交换时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "69E91484-6E4C-4C05-8EA4-14C283BA8350"
        },
        {
          "defKey": "supervi_modify_time",
          "defName": "监督修改时间",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "4F98DCDE-09EF-417C-A28D-5B0A631AF8C1"
        },
        {
          "defKey": "corps_id",
          "defName": "总队机构ID",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3DECE0B1-F679-4E22-B55B-FECA9BC3AAAE"
        },
        {
          "defKey": "police_data",
          "defName": "是否派出所数据",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "F38320C7-5885-411B-BA09-0FB08DB7E4A4"
        },
        {
          "defKey": "row_version",
          "defName": "Row_Version",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "C2DD9D71-B3F3-434A-9752-BA10E83F9AB2"
        },
        {
          "defKey": "manage_company",
          "defName": "是否建筑管理单位",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "44E89A00-B5BD-440F-996B-DFD324E79FC1"
        },
        {
          "defKey": "sfhjhdw",
          "defName": "SFHJHDW",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "AB0EE4EC-E769-4437-A2F8-0BDB2014196A"
        },
        {
          "defKey": "high_risk",
          "defName": "是否高危单位",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "94C06679-ECC7-458F-9F9B-878A3AD81D29"
        },
        {
          "defKey": "sfwbqy",
          "defName": "SFWBQY",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "63391F6C-B2BD-4936-B311-DDE0123C8C07"
        },
        {
          "defKey": "hjhjzsl",
          "defName": "HJHJZSL",
          "comment": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "1DCA8C80-D07B-414F-83EE-65CA98E0FECE"
        },
        {
          "defKey": "lgacc",
          "defName": "LGACC",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "0C7014A0-2E6D-4D49-8A47-976BDEDDA336"
        },
        {
          "defKey": "lgacc_name",
          "defName": "LGACCName",
          "comment": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "D80BF901-4296-4F68-82E4-53255A214371"
        },
        {
          "defKey": "bzdzkglid",
          "defName": "BZDZKGLID",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "3953F3BE-0CFB-4875-A5F4-14A958111E63"
        },
        {
          "defKey": "qrtime",
          "defName": "QRTime",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "047A0F01-B414-4B08-90E2-41D3B84BD011"
        },
        {
          "defKey": "qracc",
          "defName": "QRAcc",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "572E43EC-2139-4547-AFE9-570613165849"
        },
        {
          "defKey": "determine_key_name",
          "defName": "重点单位确认人员姓名",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "AFB4409B-0616-4446-B3B5-EEEF98E2BE79"
        },
        {
          "defKey": "qryj",
          "defName": "QRYJ",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "95767C73-6DA1-4E7C-B339-409C79DC8D71"
        },
        {
          "defKey": "qryjjms",
          "defName": "QRYJMS",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "491FCFD0-89E9-4C83-8F48-2200F826AA2B"
        },
        {
          "defKey": "scrksj",
          "defName": "SCRKSJ",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "A4150C9A-9D20-44E0-8309-8236ACC9C711"
        },
        {
          "defKey": "law_id",
          "defName": "lawID",
          "comment": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "E3EF4C53-636A-4518-8C77-DA4476B0A8AA"
        },
        {
          "defKey": "reserve_field1",
          "defName": "备用字段1",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "8B299D71-139F-4A65-93DC-05FCB16B6366"
        },
        {
          "defKey": "reserve_field2",
          "defName": "备用字段2",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "C4C43E96-C4E1-443B-B3BD-45CAE33E0F72"
        },
        {
          "defKey": "reserve_field3",
          "defName": "备用字段3",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "715F511F-6CC0-47C7-A56C-231F0DBE599B"
        },
        {
          "defKey": "reserve_field4",
          "defName": "备用字段4",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "id": "19E3A737-EC18-47EB-A7FA-8015D3F70B58"
        },
        {
          "defKey": "bdp_audit",
          "defName": "BDP_AUDIT",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "id": "BBC8D893-70F2-4219-AE42-61632C31A76B"
        },
        {
          "defKey": "union_key",
          "defName": "unionKey",
          "comment": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "89F36359-A451-4E70-9AD5-B61FFBFBC834"
        },
        {
          "defKey": "creator_name",
          "defName": "创建者姓名",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "6273FB23-14D5-440D-A8D0-A0968604EC43"
        },
        {
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "4DE7DA1C-7D8B-492A-A735-24ECC382C102"
        },
        {
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "16CC63FC-7261-4B81-B96A-0A52FF9B1C0C"
        },
        {
          "defKey": "update_person_name",
          "defName": "更新人姓名",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "7E2C0915-93BC-41F6-9ABC-29A4E7547AFA"
        },
        {
          "defKey": "update_person_ip",
          "defName": "修改人的IP",
          "comment": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "98A54A4E-75C2-4FAF-BA05-22A69F56E9EB"
        },
        {
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "E6907B42-7B6B-4949-927B-FEF398417613"
        },
        {
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": true,
          "refDict": "",
          "uiHint": "",
          "id": "CC488886-B2B4-441D-B053-C635A2642B73"
        }
      ],
      "correlations": [],
      "indexes": []
    },
    {
      "id": "6283E310-4127-4081-9640-DEF05F049DB4",
      "defKey": "alarm_detector",
      "defName": "独立式无线探测器告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "",
          "comment": null,
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "5E490185-7A5A-4908-90F6-B420BED0E71E"
        },
        {
          "rowNo": 2,
          "defKey": "data_sources",
          "defName": "数据来源",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7DB2EA0B-4655-47DB-BA89-89C69379771A"
        },
        {
          "rowNo": 3,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "71BC09FF-B895-4B74-86DD-51B617E412C7"
        },
        {
          "rowNo": 4,
          "defKey": "data_time",
          "defName": "数据上报时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "107D372D-C278-4955-9251-73B42C4881A6"
        },
        {
          "rowNo": 5,
          "defKey": "device_status",
          "defName": "设备状态",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "96E501CC-6B30-414B-8DF2-5B26D1ECE6B0"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "747A80EF-BC11-45A5-B63C-AD04881DF99E"
        },
        {
          "rowNo": 7,
          "defKey": "system_type",
          "defName": "系统类型（1.火灾自动报警系统",
          "comment": "2.自动喷水灭火系统 3.消防给水及消火栓系统 4.防排烟系统 5.电气火灾系统 6.消防视频监控系统）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BD25BCC4-FC49-464E-8848-37EF85E8739F"
        },
        {
          "rowNo": 8,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DC28C9CB-C0C9-4E42-825F-1D332126DF8B"
        },
        {
          "rowNo": 9,
          "defKey": "alarm_type",
          "defName": "告警类型（如WP1、WP2）",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "410AB874-0032-4BC6-88AD-385E94D0DFBF"
        },
        {
          "rowNo": 10,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AF3E1DE9-0BD3-4C98-B692-65EBD15EC59E"
        },
        {
          "rowNo": 11,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "72785BC1-CFDB-4CB2-9012-1C8A7EE0EE88"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "92B40715-044B-49BA-8C7F-EF2105F850E5"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D337284D-A187-4453-A4F8-24C46761A5D3"
        },
        {
          "rowNo": 14,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5B22A346-D2E3-41CE-9EC7-744682F3A42E"
        },
        {
          "rowNo": 15,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2E2DC530-D443-4CD1-95BA-88556BE2A529"
        },
        {
          "rowNo": 16,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3BB38E1D-F5CE-48D4-8569-288CD29A8D64"
        },
        {
          "rowNo": 17,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DA881849-3494-4910-B767-F7D414A53964"
        },
        {
          "rowNo": 18,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9FB119FD-ACBE-401F-A7B6-9614E0F8EF89"
        },
        {
          "rowNo": 19,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B1FD0C1E-11B5-40CA-A182-460946A520C3"
        },
        {
          "rowNo": 20,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "487E2A46-D5CA-457D-824F-A435B5DBCD17"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "1B3CDAD9-6F69-4D25-98F2-20D1A95EFAFB",
              "fieldDefKey": "5E490185-7A5A-4908-90F6-B420BED0E71E"
            }
          ],
          "id": "A4B56393-80C8-4FDD-A681-007A5178C0B6"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "AA2653FA-E875-4C66-B80A-F4E8B594983C",
      "defKey": "alarm_electrical_fire",
      "defName": "电气火灾隐患告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "C63E44E9-BD04-4527-841A-30EE36C8154E"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6828A755-147B-4709-A0CF-3B46F32CC1D8"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DD44C9EC-43AA-4C3C-8CB0-748A0A3BBEFD"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D22E3A9F-A7E3-4752-A074-7D04019D9392"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2A2949F1-CE29-4C95-9FEB-0B2DC486A779"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0C56C409-5DDE-49AD-8E8C-51B1745D587E"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FC11C2A7-6C22-4523-A783-F65BA42B06A2"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4884413C-AD99-4A45-83B8-1B76E82C3742"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "321810A5-F396-462E-999B-3504A57525C5"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "75109A0F-1815-4B1E-8A36-3D933462238A"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0FCA85E0-59B3-4672-B090-C1822F32558B"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F994953A-4D37-4666-A697-C37629FBB7B8"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AAB2D07F-99E2-4DB7-9D10-DBFD156C2270"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "86BDCE6C-9F26-4ED5-B1AE-209503F7A3A6"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "04498680-3BC3-429A-AC22-5A6823FB375A"
        },
        {
          "rowNo": 16,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E9505AF3-83B1-4578-9B45-1E41A4EF750E"
        },
        {
          "rowNo": 17,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BE3FC72F-0F12-4236-8C12-7E3D03152C55"
        },
        {
          "rowNo": 18,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "417C506D-54D9-4FD2-A9C9-4302FC593638"
        },
        {
          "rowNo": 19,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "848B21AF-C1D4-4AC1-A02F-128CE0543AEC"
        },
        {
          "rowNo": 20,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4D7ECFAD-B59B-44B1-B314-B4BA04A30A68"
        },
        {
          "rowNo": 21,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B4BBE5BA-5880-4FE4-96CB-487589557BC7"
        },
        {
          "rowNo": 22,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AF9209A4-29E1-4196-9153-FE4B837BE6AA"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "5D9E77E4-BFA4-4C22-B488-17BA830AF678",
              "fieldDefKey": "C63E44E9-BD04-4527-841A-30EE36C8154E"
            }
          ],
          "id": "0B3B95EC-C750-456D-8706-F4A916B5D3F7"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "3AA6BB3F-D301-441C-9044-915FBF557109",
      "defKey": "alarm_fire",
      "defName": "火灾报警系统告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "3B58C0A1-C013-4830-81EA-FFE8DDB85019"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4D382A08-41ED-4319-B082-1247A424EA5B"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "852C4B28-6E54-4152-8C52-7E9BA6700758"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型(2",
          "comment": "火警、4 故障、16 监管等)",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "'0'",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "897EDC59-62E4-4A84-9E7B-400CC46B7B9A"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "723D400A-97EC-4821-A5F5-21E77025F433"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "08C0DD99-47ED-4354-B919-0552E48CB0AB"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CD3A09FD-2A6A-4C8F-A187-2C595C66684F"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型(1.火灾自动报警系统",
          "comment": "2.自动喷水灭火系统 3.消防给水及消火栓系统 4.防排烟系统 5.电气火灾系统 6.消防视频监控系统)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "70C015D2-F6BB-4268-B4F4-070666B73086"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "'0'",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B6978171-6A7F-4AC0-88F8-3C4DCCBF13E8"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "53B663F4-1168-42B8-ABC6-1A896DA4ADF4"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "60C70908-F22F-42E8-8E04-B2EF95333C35"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "原始告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "35700149-1988-441D-B7AC-E357A1FA49BD"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "告警名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DD7E8EFC-356E-43AF-8AA2-28DB31E51807"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "原始点位地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EC2CB442-59A5-4CE5-8175-2A66393CFBA6"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "点位描述",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CAD36C5B-BEF9-4262-97B1-A22CC480B22F"
        },
        {
          "rowNo": 16,
          "defKey": "point_type",
          "defName": "点位类型(0",
          "comment": "通用设备、1 火灾报警控制器、10 可燃气体探测器、11 点型可燃气体探测器等)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5950A1AD-1D55-40FD-8781-7965EFC0A234"
        },
        {
          "rowNo": 17,
          "defKey": "host_num",
          "defName": "主机号",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A534C06A-DCD6-4E29-885A-2DFCDE962F09"
        },
        {
          "rowNo": 18,
          "defKey": "loop_num",
          "defName": "回路号",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FBDE6C99-B03E-4A79-90E4-DD2B4E84D5C1"
        },
        {
          "rowNo": 19,
          "defKey": "pt_num",
          "defName": "点位号",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AF64D404-F630-45DD-B8AC-2CFB7C4DD74C"
        },
        {
          "rowNo": 20,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "59141470-E366-4B06-9ECB-D7FA8D4E2263"
        },
        {
          "rowNo": 21,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DAFFAB36-8C5A-451B-97D8-B4A3280646EF"
        },
        {
          "rowNo": 22,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2AC4471A-4D60-4447-98CD-F787E7EA9378"
        },
        {
          "rowNo": 23,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "99BB8214-E28C-4FFB-AA49-870E532CC68B"
        },
        {
          "rowNo": 24,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8444DD88-E0C2-4EE1-90BF-FEFE9CEEA749"
        },
        {
          "rowNo": 25,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E854F38C-FEBA-4A45-9C91-C151DD03AD69"
        },
        {
          "rowNo": 26,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "386D4F6F-D672-4611-BF26-63F6A3CA5FEB"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "E6F0FDAD-744E-45E0-A9E8-B57C68FF36AA",
              "fieldDefKey": "3B58C0A1-C013-4830-81EA-FFE8DDB85019"
            }
          ],
          "id": "18CC5AF5-FEDD-4D5E-A6A0-F91FE346D23F"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "FEFFC091-B30E-429D-852C-9E07CB419050",
      "defKey": "alarm_hydrant_water",
      "defName": "消防给水及消火栓隐患告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "5F8058D7-8B0D-411B-A28D-9361DE3CA5FD"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AEFBFAE2-F9D3-49C9-9926-853A8FBA8973"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0B6DD562-DECB-429B-8B77-0EEA63FFE17E"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7EBB1ECA-BD0A-4FED-B8B0-06A32EBF4414"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6B8905B3-3CB9-4F92-AC11-2BDC777E5A20"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3A91D91E-8F67-4C7C-A31B-0133FD6412D3"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "239FD644-5D08-4DE0-886D-14E09138BCB2"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "15328EC7-2F88-43B7-B7C6-83F037B2607F"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "89B9DA87-C7F6-42D6-8714-C83AB70DA67A"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9556AE16-6C30-480A-B8AF-6B9E4A30C9B0"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D27B3FFE-A191-4A00-8F10-4F79E017562E"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "820C4DB0-94D6-48DB-B44E-523520247B08"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8BD9850C-CDFB-493A-8EE2-D64CB31CDBCC"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0B7014B5-6501-45EB-AE13-CCC2C05A7950"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F8BA0082-CA6D-4E1F-881A-34BB33794509"
        },
        {
          "rowNo": 16,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7C610638-871D-44A9-81BD-8A4A7C35520B"
        },
        {
          "rowNo": 17,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E5550908-2ECA-470E-BC69-29F852B61B7A"
        },
        {
          "rowNo": 18,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DA5BB57F-C23B-4FBE-A449-38891BEB2FB9"
        },
        {
          "rowNo": 19,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AD5F7AA3-868F-456A-8CB2-5EC021BE3548"
        },
        {
          "rowNo": 20,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E1F003D4-7879-4C59-A99E-21095E4848B4"
        },
        {
          "rowNo": 21,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "20032E88-7098-472E-BCB1-39B17D84EE30"
        },
        {
          "rowNo": 22,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "537F2EE6-7917-4ED8-8BBD-10CA0D965EE8"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "9768C97A-BB16-465F-A1E9-14573A804A77",
              "fieldDefKey": "5F8058D7-8B0D-411B-A28D-9361DE3CA5FD"
            }
          ],
          "id": "F858B665-12B8-4EDA-BB13-608CDE4F2312"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "8BD956C5-E135-4BDD-A2D6-B8EE42896FBD",
      "defKey": "alarm_smoke_control",
      "defName": "防排烟隐患告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "1D685C04-01DA-4319-AE00-3C7F53D5D4A3"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CBD55C7D-E498-4EEC-BACF-203864128436"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A845E237-BF91-4326-8474-4EE1D9E8CCAB"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E6B111FD-FA14-45CB-ACE8-807F397AF8AF"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5E7EAA15-947C-4E27-9FAD-2A015C61CDDB"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5FFA53FA-D72A-4634-A996-E0A5590FCC46"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EC102035-6AF0-451A-B464-6505208F36DB"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2070456D-A29F-44DD-87F9-56D126746C71"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FCFD287D-448A-4A15-9D40-7118E7F7D3AE"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4893A29D-D4AF-4C4F-88B1-00DFC9DCDC96"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4F1CB9E7-90CD-4D30-ADEC-3C79D29F08BD"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A7C19728-5594-48B6-923B-8FF6C2367A58"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A0D99C40-3C48-41ED-B9FF-F0EA5DD0DCDD"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3FC366FE-7288-4E0E-9460-4A28DCF6CA3C"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "611D234C-8CEF-4245-B089-E155C320E13E"
        },
        {
          "rowNo": 16,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "312D1388-C967-4F12-8A7F-26B9E0732344"
        },
        {
          "rowNo": 17,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "25BA8794-154F-4C1E-BD07-5BCC88CB4077"
        },
        {
          "rowNo": 18,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AD293025-B8AE-4C5F-89FC-2460D7B3B6FB"
        },
        {
          "rowNo": 19,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C0937FEF-62FB-47E5-B21B-3A3E5C1C2A1E"
        },
        {
          "rowNo": 20,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1E6AC48B-5D18-4190-9D5D-D96659C999D6"
        },
        {
          "rowNo": 21,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C2142110-9ADE-41B5-97B5-716002AEB96A"
        },
        {
          "rowNo": 22,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0DC51143-4C7A-47B0-8C82-873DE3C04C31"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "68D72189-AF85-47FA-A38A-5B27BBF49122",
              "fieldDefKey": "1D685C04-01DA-4319-AE00-3C7F53D5D4A3"
            }
          ],
          "id": "9AF7923B-7A72-43BA-A577-0A56DB418F27"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "47FD068E-D017-40FC-AA37-162D1FDB0EE7",
      "defKey": "alarm_spray_water",
      "defName": "自动喷水灭火隐患告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "44086777-8F4A-4211-9D75-464826BAD40C"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2CCBD09A-A16D-4540-9A06-A1331F7A8520"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "62700693-7193-4668-BEA6-25D5FFCFE4E1"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9443D1D1-0DB1-4769-B753-104F77BE4AB3"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "508B5063-8FFE-4ABC-AB4E-0AD23C57409A"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A9039209-63F8-420B-B76D-1D8E3EA37E8A"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C0C4574F-9185-46EA-97A4-89C54D25CF45"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DF3B557C-09BC-418A-AFAB-B48203F54A05"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "04819C80-0939-45ED-87C5-EA110B8C8328"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "464C447E-6434-422F-B9FF-67295F03A475"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "774FBF7F-1D0E-4B16-9766-86BE6E87DB5F"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C78C2958-C58A-4712-A7BC-A9D5C4BA01E9"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BE02B8C0-92CC-4896-A6D8-A51C1A9727E3"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1B4C5DB4-496F-4D11-A3D1-31391556E4F2"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3D9B317D-8070-4F41-BAFC-6D0E351514DD"
        },
        {
          "rowNo": 16,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9D772D9D-7602-44A9-9193-AB36A8623910"
        },
        {
          "rowNo": 17,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BCAEB545-0D98-4D2C-AACF-C72F3734DCED"
        },
        {
          "rowNo": 18,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "02CE19F6-4745-4E7D-9559-7CB0FF3AF9FB"
        },
        {
          "rowNo": 19,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "44A361BA-2060-4833-835E-6FC5C0B90AE5"
        },
        {
          "rowNo": 20,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F292B20D-C643-499A-8981-0859C4434154"
        },
        {
          "rowNo": 21,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7C17E68E-6E0C-4B27-8EED-C89749BAA50A"
        },
        {
          "rowNo": 22,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AB53F62B-F008-4468-8366-6A849E9B31E7"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "8BB01D10-E66A-460B-B969-3AB46C590011",
              "fieldDefKey": "44086777-8F4A-4211-9D75-464826BAD40C"
            }
          ],
          "id": "BBA7BDF6-3CC8-475F-9DE9-2126C8CE14BD"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "06984B74-DDC3-48E6-9BF9-BED4EA668014",
      "defKey": "alarm_video",
      "defName": "视频监控隐患告警",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "A177415D-C55D-4D6D-BEF3-2F6FD5CA0DE0"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6C4E7A3A-771F-49DB-9B24-8993BED857FD"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "153AD3B3-7E0B-4C1C-B678-B43EE91F2F3E"
        },
        {
          "rowNo": 4,
          "defKey": "alarm_type",
          "defName": "告警类型",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1137C08B-DBBE-4945-8590-C8BEC0441A76"
        },
        {
          "rowNo": 5,
          "defKey": "alarm_time",
          "defName": "告警时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "712F02BC-644F-43CE-8720-7870B4BC841A"
        },
        {
          "rowNo": 6,
          "defKey": "address",
          "defName": "上报地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0F541554-F63E-4BC8-8046-5423BD55CAB8"
        },
        {
          "rowNo": 7,
          "defKey": "alarm_status",
          "defName": "告警状态",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "04A9FAC6-063F-48D5-B283-1EFDB40ABD29"
        },
        {
          "rowNo": 8,
          "defKey": "system_type",
          "defName": "系统类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2C9A20C3-E739-43AF-8ABA-AFC6512D598E"
        },
        {
          "rowNo": 9,
          "defKey": "port_num",
          "defName": "端口号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "65DEE5AB-5E1D-4023-8C86-F3FCA9750F25"
        },
        {
          "rowNo": 10,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5DA16B6D-2E35-4CEA-B43A-25EF914F9484"
        },
        {
          "rowNo": 11,
          "defKey": "company_name",
          "defName": "单位名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 70,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(70)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0FD5ABFD-2FB0-44BA-82B4-4934D599A989"
        },
        {
          "rowNo": 12,
          "defKey": "attribute_value1",
          "defName": "属性值1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "853A540C-1BAF-4A7B-86E5-BF462146410B"
        },
        {
          "rowNo": 13,
          "defKey": "attribute_value2",
          "defName": "属性值2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BCCB3A35-ADFF-45C1-912D-080987D16BDD"
        },
        {
          "rowNo": 14,
          "defKey": "attribute_value3",
          "defName": "属性值3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F101E251-3EAA-4AE9-832B-E622049B5AE7"
        },
        {
          "rowNo": 15,
          "defKey": "attribute_value4",
          "defName": "属性值4",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6E34E251-0BAD-4037-9C98-FDBB5B12A40B"
        },
        {
          "rowNo": 16,
          "defKey": "handler",
          "defName": "处理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "17D5E219-4B53-47F3-992F-CAEA6A29C2EB"
        },
        {
          "rowNo": 17,
          "defKey": "handling_time",
          "defName": "处理时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2B4394DB-B80D-47E1-8EB1-755675FAEF26"
        },
        {
          "rowNo": 18,
          "defKey": "handling_content",
          "defName": "处理内容",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8FFD97D5-4832-47F1-BC59-777158011BBF"
        },
        {
          "rowNo": 19,
          "defKey": "handler_phone",
          "defName": "处理人电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "84B2F9D8-D17B-4EC0-ABB6-4D1B6EAC4A42"
        },
        {
          "rowNo": 20,
          "defKey": "handling_status",
          "defName": "处理状态（0、未处理",
          "comment": "1、已处理）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BD6BECBC-A024-4896-8456-5DE82A5D0745"
        },
        {
          "rowNo": 21,
          "defKey": "false_alarm",
          "defName": "是否误报（0、非误报",
          "comment": "1、误报）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7FB301CD-76AC-4B43-8B89-39C97C205A5F"
        },
        {
          "rowNo": 22,
          "defKey": "site_photo",
          "defName": "现场照片",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B6A74955-4833-4AFE-8339-0CB26FAADBBF"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "A13744FC-6CC7-41AD-BBC0-BA4E2F6C87A8",
              "fieldDefKey": "A177415D-C55D-4D6D-BEF3-2F6FD5CA0DE0"
            }
          ],
          "id": "6E2CD5A1-791A-440B-B510-A85F9B386C1D"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "15E705D0-AECB-4A1F-B6B9-184F5B06B836",
      "defKey": "base_build",
      "defName": "建筑信息",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "A08B6324-DA19-4E33-A64B-EC9BEAB74CFF"
        },
        {
          "rowNo": 2,
          "defKey": "build_num",
          "defName": "建筑编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0D51AF1F-E8CA-49C6-B787-96DC2C91D189"
        },
        {
          "rowNo": 3,
          "defKey": "build_name",
          "defName": "建筑名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E0D65A27-309A-4040-BBC6-110FBE699E44"
        },
        {
          "rowNo": 4,
          "defKey": "address",
          "defName": "详细地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "30FB2C82-6A02-46EE-9C9E-AC74998A748E"
        },
        {
          "rowNo": 5,
          "defKey": "model_address",
          "defName": "模型地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "53EB356D-44DA-4408-817B-BD4C362ECCB7"
        },
        {
          "rowNo": 6,
          "defKey": "above_floor",
          "defName": "地上楼层",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B57ADF54-49A3-47D5-94C5-B7EF86CCC521"
        },
        {
          "rowNo": 7,
          "defKey": "under_floor",
          "defName": "地下楼层",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F66448AA-6BA4-447D-947A-C3688205C906"
        },
        {
          "rowNo": 8,
          "defKey": "build_area",
          "defName": "建筑面积",
          "comment": "",
          "domain": "",
          "type": "DOUBLE",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DOUBLE(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "76147533-C75E-49A0-A094-9E8E50CDB6C1"
        },
        {
          "rowNo": 9,
          "defKey": "cover_area",
          "defName": "占地面积",
          "comment": "",
          "domain": "",
          "type": "DOUBLE",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DOUBLE(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F92EDEFF-7B8A-49B2-B1B2-CA0BD78E6F1A"
        },
        {
          "rowNo": 10,
          "defKey": "fire_rating",
          "defName": "耐火等级",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CAC83C1B-2B1E-466A-A31A-7A26DD03DEC1"
        },
        {
          "rowNo": 11,
          "defKey": "use_character",
          "defName": "使用性质",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F327AB1A-59ED-46B2-92F6-515124D3B73A"
        },
        {
          "rowNo": 12,
          "defKey": "build_structure",
          "defName": "建筑结构",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DC197CDC-C647-4F72-9AFF-640AC6BD6F29"
        },
        {
          "rowNo": 13,
          "defKey": "build_high",
          "defName": "建筑高度",
          "comment": "",
          "domain": "",
          "type": "DOUBLE",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DOUBLE(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3A6B04BE-E02D-45EC-843F-27F195D473F9"
        },
        {
          "rowNo": 14,
          "defKey": "high_type",
          "defName": "建筑高度分类",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "95358A95-D58C-407D-AF29-F6C1A68ADC62"
        },
        {
          "rowNo": 15,
          "defKey": "complete_year",
          "defName": "竣工年份",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "04619167-5100-464E-B963-EC5DF68B0390"
        },
        {
          "rowNo": 16,
          "defKey": "safe_person",
          "defName": "安全责任人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5966D243-2AC8-48F1-AA05-57EBB552FA5A"
        },
        {
          "rowNo": 17,
          "defKey": "manage_person",
          "defName": "安全管理人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5F1100AE-D367-481E-8F04-8450AE165854"
        },
        {
          "rowNo": 18,
          "defKey": "fire_risk",
          "defName": "火灾危险性",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "71F15219-FBF0-4AF4-8BCD-4F2E0AC46B5C"
        },
        {
          "rowNo": 19,
          "defKey": "fire_control_room",
          "defName": "消防控制室位置",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "76A1397F-4A85-483B-94C8-D5B65AE71CF9"
        },
        {
          "rowNo": 20,
          "defKey": "build_inside",
          "defName": "建筑立面图",
          "comment": "",
          "domain": "",
          "type": "TEXT",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "TEXT",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "81A52540-8015-44AA-9543-FFEFAD20670B"
        },
        {
          "rowNo": 21,
          "defKey": "build_plan",
          "defName": "建筑平面图",
          "comment": "",
          "domain": "",
          "type": "TEXT",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "TEXT",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F5802013-FD08-4D57-A135-D4D7414A2F8B"
        },
        {
          "rowNo": 22,
          "defKey": "facility_id",
          "defName": "设施ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EBD8D32A-467F-41AF-8035-DA5980C99B6E"
        },
        {
          "rowNo": 23,
          "defKey": "company_id",
          "defName": "所属联网单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "928EE5AC-F520-4B92-892B-294252FBF836"
        },
        {
          "rowNo": 24,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "45D4DF0C-164B-4FCA-99E1-6625CFF1A8C2"
        },
        {
          "rowNo": 25,
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3F30953D-1CD1-4163-9149-9A233026685B"
        },
        {
          "rowNo": 26,
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6F0E2BDB-161C-43E8-A12C-8EAAC1E6684D"
        },
        {
          "rowNo": 27,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0ACCDBD5-54FF-45DD-9E15-830BA1EF0D58"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "4EBF26C0-3367-4F24-ADBC-5BBA343459D7",
              "fieldDefKey": "A08B6324-DA19-4E33-A64B-EC9BEAB74CFF"
            }
          ],
          "id": "AFD7AC76-87AF-4CC7-94EE-C4D248F9D924"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "D4DC999C-DE08-48A2-AAB8-8A6CC3EF7916",
      "defKey": "base_device",
      "defName": "设备信息",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "5E26BCA4-5DC0-40F1-A7A3-3E6BCC3BFF32"
        },
        {
          "rowNo": 2,
          "defKey": "device_code",
          "defName": "设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D97190DF-D1EC-480B-A9DB-7B90312C9E65"
        },
        {
          "rowNo": 3,
          "defKey": "device_name",
          "defName": "设备名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B87E432A-E1BB-4DFF-91B8-6A8675FF1EC0"
        },
        {
          "rowNo": 4,
          "defKey": "install_address",
          "defName": "安装位置",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "43E2E44D-CF71-4B3F-9719-0FF50EE4EF05"
        },
        {
          "rowNo": 5,
          "defKey": "device_type",
          "defName": "设备类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3DB27591-BA78-4366-8164-4C6BF1AD99DF"
        },
        {
          "rowNo": 6,
          "defKey": "product_id",
          "defName": "产品ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C0668641-17D2-4FF8-BAEC-47040D40A06F"
        },
        {
          "rowNo": 7,
          "defKey": "floor",
          "defName": "所属楼层",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C109D31F-E03C-4364-9B95-751F8E9C9F3C"
        },
        {
          "rowNo": 8,
          "defKey": "sim_code",
          "defName": "物联网卡号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "929FCA81-4C79-4514-B537-9248AD0D1CED"
        },
        {
          "rowNo": 9,
          "defKey": "communicat_mode",
          "defName": "通信方式(1：nb",
          "comment": "2：lora 3：2G/3G/4G/5G)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3141032C-59A8-4E3A-BAEF-1A47B5B96564"
        },
        {
          "rowNo": 10,
          "defKey": "model_position",
          "defName": "设备所属模型三维坐标",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DCEDA2ED-9080-4DFD-9C12-1454549EB61F"
        },
        {
          "rowNo": 11,
          "defKey": "fire_zone",
          "defName": "防火分区",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5F9856A6-E2B6-4AE5-883A-14AC5637B6AF"
        },
        {
          "rowNo": 12,
          "defKey": "magnification",
          "defName": "倍率(仅电气火灾设备生效)",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D9C93B14-0EC2-4F05-B492-F9873A302348"
        },
        {
          "rowNo": 13,
          "defKey": "analytic_method",
          "defName": "解析方法(仅用户传输装置设备生效)",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A5D9D194-E96D-4B6A-9BF1-53CA94D26C78"
        },
        {
          "rowNo": 14,
          "defKey": "install_time",
          "defName": "安装时间",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DC931EB9-4243-400E-A62E-DC37D1173A98"
        },
        {
          "rowNo": 15,
          "defKey": "install_person",
          "defName": "安装人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "78BF015C-FB18-4910-93B2-701E15E6A14F"
        },
        {
          "rowNo": 16,
          "defKey": "enable",
          "defName": "使能标识(1：开通",
          "comment": "、2：待定 、3：注销)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "65A17AC3-4487-44DD-B359-4DC27C10B4C0"
        },
        {
          "rowNo": 17,
          "defKey": "company_id",
          "defName": "所属单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5DB5321D-67D3-425E-9837-C3739BDDC600"
        },
        {
          "rowNo": 18,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "36904A6F-6CAB-4802-8881-AC0A0E8869A5"
        },
        {
          "rowNo": 19,
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5A247B11-1F1B-4521-836D-CE8A628BDAC2"
        },
        {
          "rowNo": 20,
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B1D0695F-84C0-4B1F-B548-E6E5782FE383"
        },
        {
          "rowNo": 21,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "44E5A508-0A60-491B-A760-F5025F72BBAA"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "F386F47C-3668-44A7-85E0-AA94E3944752",
              "fieldDefKey": "5E26BCA4-5DC0-40F1-A7A3-3E6BCC3BFF32"
            }
          ],
          "id": "62F18107-0E00-42D6-8EDD-1E6C6C980B44"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "70EAC2E8-A45B-45FD-93B6-9062FF30BEFF",
      "defKey": "base_ggp_facility",
      "defName": "地理设施",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "BA0D25F5-2AF5-44DE-B193-97049ED7FDC8"
        },
        {
          "rowNo": 2,
          "defKey": "facility_num",
          "defName": "设施编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "879D5CFF-2FA0-4943-9883-4411182B5F53"
        },
        {
          "rowNo": 3,
          "defKey": "facility_name",
          "defName": "设施名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "037D1EF0-2295-43C6-9474-A3A7C43B50FC"
        },
        {
          "rowNo": 4,
          "defKey": "status",
          "defName": "设施状态",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3FD1EE4A-F659-4352-90EA-ECA3E58BE205"
        },
        {
          "rowNo": 5,
          "defKey": "address",
          "defName": "设施地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7356AB21-3CF4-4842-BC4B-991D94937C6A"
        },
        {
          "rowNo": 6,
          "defKey": "facility_type",
          "defName": "设施类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C9384CEC-B907-40B9-B00C-91F62DF09D47"
        },
        {
          "rowNo": 7,
          "defKey": "longitude",
          "defName": "经度(当设施类型为点时使用该字段)",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "28DE5BD6-E206-4E67-B34B-1D2EC977DF7B"
        },
        {
          "rowNo": 8,
          "defKey": "latitude",
          "defName": "纬度(当设施类型为点时使用该字段)",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "955192B7-7D8E-4CC1-A7E8-8B07C7E590C7"
        },
        {
          "rowNo": 9,
          "defKey": "gps_areas",
          "defName": "经纬度集合(由多个GPS点组成的多边形",
          "comment": "当设施类型为线和面时使用该字段)",
          "domain": "",
          "type": "TEXT",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "TEXT",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6E0CEEF1-876D-46CF-AB2A-5CB31D061DBE"
        },
        {
          "rowNo": 10,
          "defKey": "province",
          "defName": "省",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7F41DF87-52D7-4A66-AB6D-2442ABC842C9"
        },
        {
          "rowNo": 11,
          "defKey": "city",
          "defName": "市",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D6DD851F-9A2E-4E89-8BBD-79BFACC31F96"
        },
        {
          "rowNo": 12,
          "defKey": "area",
          "defName": "区（县）",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7D07ACBE-AD72-4EE0-8CDE-177AD2631A89"
        },
        {
          "rowNo": 13,
          "defKey": "contact",
          "defName": "联系人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "07226328-9554-4194-96AF-E61AB1E552AE"
        },
        {
          "rowNo": 14,
          "defKey": "contact_phone",
          "defName": "联系方式",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C5555699-FFC0-4E0D-9944-83AD9648570A"
        },
        {
          "rowNo": 15,
          "defKey": "check_status",
          "defName": "审核状态",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6E94B65D-3C48-4F44-B8FF-788442E2B68B"
        },
        {
          "rowNo": 16,
          "defKey": "check_id",
          "defName": "审核人编号",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2C5118EE-6BF4-4947-B100-18DB07D60CB7"
        },
        {
          "rowNo": 17,
          "defKey": "check_name",
          "defName": "审核人姓名",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 40,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(40)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "070D2FE8-C406-4C5B-AEBE-E8DEB87F83F7"
        },
        {
          "rowNo": 18,
          "defKey": "check_comment",
          "defName": "审核批复",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F7BB78D3-47BD-4333-AF19-CA060EB08749"
        },
        {
          "rowNo": 19,
          "defKey": "extend_data",
          "defName": "扩展属性(json格式存储每个设施独有的属性)",
          "comment": "",
          "domain": "",
          "type": "TEXT",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "TEXT",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5A6BA6CA-7CFF-40A8-8748-DFB4E96D8DC8"
        },
        {
          "rowNo": 20,
          "defKey": "images_url",
          "defName": "图⽚地址URL",
          "comment": "",
          "domain": "",
          "type": "TEXT",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "TEXT",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "035EA0C7-5EC0-4A10-963F-94D2557161BB"
        },
        {
          "rowNo": 21,
          "defKey": "dept_id",
          "defName": "组织结构ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9AFEF64B-F06D-465F-A570-82649550A0F6"
        },
        {
          "rowNo": 22,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B4FA6FA5-07F3-438D-A1DF-8E9F3935F89A"
        },
        {
          "rowNo": 23,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1914F405-C954-4195-9543-120932A5E760"
        },
        {
          "rowNo": 24,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4468FAEB-1009-41AD-B96C-59C32D1663CB"
        },
        {
          "rowNo": 25,
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1DF695E2-ECDD-4402-9EE2-5CA51043954B"
        },
        {
          "rowNo": 26,
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3635EF70-B722-45C0-A037-4755897F964A"
        },
        {
          "rowNo": 27,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7569B339-BAA7-47CC-9388-A88A64AC717F"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "E62E77C6-9CEB-4A55-8E27-1ADF9A6A3C7B",
              "fieldDefKey": "BA0D25F5-2AF5-44DE-B193-97049ED7FDC8"
            }
          ],
          "id": "2C93F4AC-53C3-4016-803A-69D0501D7B0A"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "A6084179-FB44-4FCB-97E6-1B790294C4C1",
      "defKey": "base_model",
      "defName": "三维模型设备信息",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "D156F9B8-1C66-456E-B78B-F06897E309F0"
        },
        {
          "rowNo": 2,
          "defKey": "model_name",
          "defName": "模型名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DE062189-729F-4574-90B9-9A47416960D3"
        },
        {
          "rowNo": 3,
          "defKey": "model_type",
          "defName": "模型类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "ABC9C625-1ECC-4581-B83E-55BD0D7660AF"
        },
        {
          "rowNo": 4,
          "defKey": "model_url",
          "defName": "模型URL",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "93CA5433-485E-4AD8-8CF3-F02DCB8FD65D"
        },
        {
          "rowNo": 5,
          "defKey": "model_position",
          "defName": "模型坐标",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "04B3A72F-587A-49D0-8FDB-5E03E6A7DD46"
        },
        {
          "rowNo": 6,
          "defKey": "model_angle",
          "defName": "模型旋转角度",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 10,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(10)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4DFE232E-B84A-43FE-9DC8-9C1EC421A46C"
        },
        {
          "rowNo": 7,
          "defKey": "model_scale",
          "defName": "模型大小(默认大小[1",
          "comment": "1,1])",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "'1,1,1'",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "02B83618-3BA9-4559-860A-DA413512C1A2"
        },
        {
          "rowNo": 8,
          "defKey": "model_drag_bool",
          "defName": "模型设备拖拽",
          "comment": "",
          "domain": "",
          "type": "TINYINT",
          "len": 4,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "TINYINT(4)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "93C958ED-6F72-4B58-B426-E04E81BF65B7"
        },
        {
          "rowNo": 9,
          "defKey": "enable",
          "defName": "使能标识(1：开通",
          "comment": "、2：待定 、3：注销)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0CBB2171-DE49-4E54-869C-2DC458D31A56"
        },
        {
          "rowNo": 10,
          "defKey": "device_code",
          "defName": "对应设备编号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "42DEE848-9640-48B2-89DD-A7D5341635E4"
        },
        {
          "rowNo": 11,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F646B472-EAA3-4D5D-BE7B-749C4E8EBFA1"
        },
        {
          "rowNo": 12,
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DEA5EE1B-9AFA-494B-85E3-D1395A16952C"
        },
        {
          "rowNo": 13,
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 58,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(58)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "11726F9A-FB92-4F84-AD38-37E4F90FBDD4"
        },
        {
          "rowNo": 14,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "728522C5-4114-420B-ABA8-78E78E7CCBAC"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "081B0FCF-4698-41EF-949F-700840DA7C96",
              "fieldDefKey": "D156F9B8-1C66-456E-B78B-F06897E309F0"
            }
          ],
          "id": "80054450-A7FD-477B-A09E-108EFA3A0AE9"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "20552E96-0E01-42B8-B560-20768BA903AB",
      "defKey": "base_product",
      "defName": "产品信息",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "",
          "comment": null,
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "6F23DA74-344A-4630-BDB7-DF32FC0D93A0"
        },
        {
          "rowNo": 2,
          "defKey": "product_name",
          "defName": "产品名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F5A10479-2843-42B5-A78D-1726D5D55C51"
        },
        {
          "rowNo": 3,
          "defKey": "factory_name",
          "defName": "厂家名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1C6DFC93-3D20-4114-BEC0-F6C497BB07F7"
        },
        {
          "rowNo": 4,
          "defKey": "device_model",
          "defName": "设备型号",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 30,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(30)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9A463D13-791A-4997-A762-EBBC8E71A97E"
        },
        {
          "rowNo": 5,
          "defKey": "acquisition_program",
          "defName": "对应采集程序",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4498B62E-4A0E-4FD2-B2FD-6260E29C2177"
        },
        {
          "rowNo": 6,
          "defKey": "arrange_address",
          "defName": "部署地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BFFA5F91-D9D2-4A81-B008-432EC9F167AE"
        },
        {
          "rowNo": 7,
          "defKey": "occupied_port",
          "defName": "占用端口",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "570F184E-836A-46EC-8BA1-CFA5CF173719"
        },
        {
          "rowNo": 8,
          "defKey": "factory_person",
          "defName": "厂家联系人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "490AE976-3387-410A-8CAD-864B4C97D22A"
        },
        {
          "rowNo": 9,
          "defKey": "factory_phone",
          "defName": "厂家联系电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "46FA35FD-85A7-44A4-A29D-CBF5468BCEB9"
        },
        {
          "rowNo": 10,
          "defKey": "certification_url1",
          "defName": "资质证书1",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "990D46EC-7944-4914-8EC0-D030D97F49CF"
        },
        {
          "rowNo": 11,
          "defKey": "certification_url2",
          "defName": "资质证书2",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C8AF5836-B6F2-45B9-8DCC-42CCDF2033F1"
        },
        {
          "rowNo": 12,
          "defKey": "certification_url3",
          "defName": "资质证书3",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "99A61535-4558-4D6A-B3D4-3C0B381BE4D9"
        },
        {
          "rowNo": 13,
          "defKey": "agreement_url",
          "defName": "协议文档",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 100,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(100)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CB1AB0C0-E3A2-479B-8C9C-2066BCD55F88"
        },
        {
          "rowNo": 14,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "49050072-960C-4788-A574-8AB8A74DC28A"
        },
        {
          "rowNo": 15,
          "defKey": "update_time",
          "defName": "更新时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "91D14A55-6030-4594-B275-501F191E8995"
        },
        {
          "rowNo": 16,
          "defKey": "update_person",
          "defName": "更新人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7623D385-1ED5-4C30-941B-1C6226BDD12B"
        },
        {
          "rowNo": 17,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "003727EA-A008-48F8-B438-3D1B2BCD460A"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "86A1FD42-EAF8-470D-9A25-D5B4C1BA776F",
              "fieldDefKey": "6F23DA74-344A-4630-BDB7-DF32FC0D93A0"
            }
          ],
          "id": "F0C9C6A4-C94D-41C0-86F2-0E78F81DE292"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "5A90EBC4-EE9E-461F-9ACE-2A24A90BD0AE",
      "defKey": "base_user_company",
      "defName": "用户单位关联",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "C854AEEF-7D23-4744-803E-200A99CB3A9B"
        },
        {
          "rowNo": 2,
          "defKey": "user_id",
          "defName": "用户主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "103243B7-BAB7-4FA5-B300-C1EEB37A9673"
        },
        {
          "rowNo": 3,
          "defKey": "company_id",
          "defName": "单位主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "46EAA53C-2ED2-4E63-AD02-69BB3D7409C6"
        },
        {
          "rowNo": 4,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "58954E4D-50AD-49A7-A490-8FEAA2B88CE9"
        },
        {
          "rowNo": 5,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "14A60290-28E1-4004-AD22-91F6F134C643"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "899F0C59-B789-4A61-B8D8-B81B1B3F9F5E",
              "fieldDefKey": "C854AEEF-7D23-4744-803E-200A99CB3A9B"
            }
          ],
          "id": "68086F1A-7718-423D-9EC0-968E5035A0E0"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "3CF964DE-0A5A-407B-82DC-3D466A78AA2C",
      "defKey": "patrol_inspection_area",
      "defName": "巡检区域表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检区域ID",
          "comment": "",
          "domain": "",
          "type": "INT UNSIGNED",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT UNSIGNED(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "36F99A76-4673-4AF4-B5D7-A2B457AEC40D"
        },
        {
          "rowNo": 2,
          "defKey": "area_name",
          "defName": "区域名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A6C5D42A-0B8B-4277-9F08-AC2FB0D8B555"
        },
        {
          "rowNo": 3,
          "defKey": "area_fid",
          "defName": "区域父ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7B25FFC9-0AA4-482F-9841-23B6EC144D53"
        },
        {
          "rowNo": 4,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "39A30477-3E1D-43F2-A34E-B375D1FAFA6A"
        },
        {
          "rowNo": 5,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E2D0FA15-38EE-43FD-B938-30EEDDED6949"
        },
        {
          "rowNo": 6,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F6EB7C55-07AA-48F0-827F-41B4BEAE21B8"
        },
        {
          "rowNo": 7,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BD27D6E4-EADB-41A7-A7E3-B47E22B1E583"
        },
        {
          "rowNo": 8,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": true,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "√",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B3330905-28DA-4800-8011-689335C0D307"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "61FD53D1-5D87-4E44-B87F-C44E2796F196",
              "fieldDefKey": "36F99A76-4673-4AF4-B5D7-A2B457AEC40D"
            }
          ],
          "id": "D5B86906-1EA8-4F94-AD54-327D4A711026"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "AF7BD919-06B5-46D1-902C-B1F2E324715E",
      "defKey": "patrol_inspection_content",
      "defName": "",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检内容信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "68E8E6C6-A473-468B-B087-54047F07A1BD"
        },
        {
          "rowNo": 2,
          "defKey": "content_title",
          "defName": "内容标题",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "82A684F0-BDFE-4605-889F-A2ED36AB1542"
        },
        {
          "rowNo": 3,
          "defKey": "content_describe",
          "defName": "内容描述",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "991D3E81-C887-4ED2-9D8C-578034358B11"
        },
        {
          "rowNo": 4,
          "defKey": "submission_method",
          "defName": "提交方式:1多选",
          "comment": "2单选 3输入框",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A905E18C-1F5E-486D-9ECE-448E70C5B09F"
        },
        {
          "rowNo": 5,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "304FD477-3A61-497B-9E5C-ADA90CFC8F91"
        },
        {
          "rowNo": 6,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7EFCDA02-76B6-4D54-9FD2-C8D965EA5EC6"
        },
        {
          "rowNo": 7,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B71CC2AF-4852-4667-AE23-E7DEEB79DD4D"
        },
        {
          "rowNo": 8,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6EBA07EA-67D9-46CC-A267-4F7B0C1F2E8D"
        },
        {
          "rowNo": 9,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4EC7AE84-CDA6-4098-B61C-DBD587931DAA"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "A0508AF8-8F01-445F-ABA9-5044F0063FFB",
              "fieldDefKey": "68E8E6C6-A473-468B-B087-54047F07A1BD"
            }
          ],
          "id": "F0B81B4A-E115-4A18-A64B-A66BCA1B4EEE"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "92341C8D-769A-4E17-B28C-498DEC44253E",
      "defKey": "patrol_inspection_content_option",
      "defName": "内容选项信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "内容选项信息表ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "5D449224-7B94-4CDF-AF4D-0F323F274DFC"
        },
        {
          "rowNo": 2,
          "defKey": "option_name",
          "defName": "内容标题",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FE276BD4-B0F4-48FB-99F8-70840D66DE09"
        },
        {
          "rowNo": 3,
          "defKey": "content_id",
          "defName": "内容ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EBFEF874-0E87-409A-BAF3-099560EE62E5"
        },
        {
          "rowNo": 4,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5C7901A4-970C-49A4-A3D4-2A140DB1D45D"
        },
        {
          "rowNo": 5,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "55CC6222-DBBC-42BD-A1C6-345312BCAC02"
        },
        {
          "rowNo": 6,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "675BBDA4-B126-4133-84E9-E3A0C0B34E25"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "A168953A-C547-490F-A4E6-F0207E2056BB",
              "fieldDefKey": "5D449224-7B94-4CDF-AF4D-0F323F274DFC"
            }
          ],
          "id": "DD8E2FDB-36A3-41EC-B35D-1AD5538C7744"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "FA5D43DA-59EC-4A01-A966-D5D51386E0E8",
      "defKey": "patrol_inspection_personnel",
      "defName": "巡检人员表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检人员表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "EF406545-529A-49BD-B1EA-8C0C0A5A8FAB"
        },
        {
          "rowNo": 2,
          "defKey": "user_id",
          "defName": "用户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E46BEFA6-D6F4-4CB5-AB3D-AF858E73F5CD"
        },
        {
          "rowNo": 3,
          "defKey": "area_id",
          "defName": "区域ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9359C907-6524-4644-BD9E-9128EBF4B79B"
        },
        {
          "rowNo": 4,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "15CF6D5C-3E11-4699-A0D3-6EF915BCB643"
        },
        {
          "rowNo": 5,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "96CE67FA-9C31-4299-8F57-FFF6C4294278"
        },
        {
          "rowNo": 6,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F553D9DB-BFB7-423F-A26E-2B0419078EAD"
        },
        {
          "rowNo": 7,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AF9C31F9-08F3-4641-A07D-2420EC38EF57"
        },
        {
          "rowNo": 8,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5EFC2C0D-FCE5-46DA-82AC-29F285593A6E"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "097D8C0E-33EA-4F21-8E9F-C76B1E1ACEB8",
              "fieldDefKey": "EF406545-529A-49BD-B1EA-8C0C0A5A8FAB"
            }
          ],
          "id": "B439FEC2-785E-4E4A-90B7-9FB81474C51D"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "C5C61BC1-6FE8-427A-BC61-C6BDAF7F2322",
      "defKey": "patrol_inspection_plan",
      "defName": "巡检计划主信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检计划主信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "30DBBF17-766B-4EB0-AE4D-D5870EC87532"
        },
        {
          "rowNo": 2,
          "defKey": "plan_name",
          "defName": "计划名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "09F21BAB-3223-41BF-A74F-C45784EE6032"
        },
        {
          "rowNo": 3,
          "defKey": "start_date",
          "defName": "开始日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "065845B8-D8AE-4CE3-9438-A805CCA86776"
        },
        {
          "rowNo": 4,
          "defKey": "end_date",
          "defName": "结束日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C8F43C44-EC1B-4119-86CD-F1613E80BD5A"
        },
        {
          "rowNo": 5,
          "defKey": "area_id",
          "defName": "巡检区域ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "034AD23D-EE87-4463-A1D6-34DDF8078896"
        },
        {
          "rowNo": 6,
          "defKey": "plan_type",
          "defName": "计划类型（1",
          "comment": "普通计划，2 按次计划）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "19A7E09A-768D-4C71-BCCE-B1462F161ABE"
        },
        {
          "rowNo": 7,
          "defKey": "plan_cycle",
          "defName": "巡检周期（1",
          "comment": "日，2 周，3 月，4 年）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2A0F47C7-4593-4F9D-B724-EC53869CE477"
        },
        {
          "rowNo": 8,
          "defKey": "plan_frequency",
          "defName": "计划次数",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "62FCEAC5-A883-4B06-A5EE-75F24A6277EE"
        },
        {
          "rowNo": 9,
          "defKey": "lap_time",
          "defName": "每圈用时（分钟）",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0DD0275A-EB72-4F08-9548-B5CAC510D160"
        },
        {
          "rowNo": 10,
          "defKey": "interval_time",
          "defName": "两圈间隔时间（分钟）",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8332F50D-AF37-427E-9948-97BB90EFC67B"
        },
        {
          "rowNo": 11,
          "defKey": "plan_describe",
          "defName": "计划描述",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9C5C9E01-95DF-4678-95E7-384130E2BD5E"
        },
        {
          "rowNo": 12,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A25E0CD1-2181-483B-9788-739405D25C19"
        },
        {
          "rowNo": 13,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "ACDA7793-29A4-42BD-94C9-D9337C260059"
        },
        {
          "rowNo": 14,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F9DAB485-8860-42E7-B90D-3D2B4E1BE856"
        },
        {
          "rowNo": 15,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5C48B621-63AD-462C-AEFB-104775314A06"
        },
        {
          "rowNo": 16,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "272E3032-43CC-431B-B5D6-D07ACF63DA28"
        },
        {
          "rowNo": 17,
          "defKey": "rest_day",
          "defName": "休息日：星期一、星期二、星期三、星期四、星期五、星期六、星期日",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "987BBB81-D257-409D-AFC8-D7B58093143C"
        },
        {
          "rowNo": 18,
          "defKey": "week_count",
          "defName": "天/周/月/年数",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "29C6DBA4-E320-4ED8-A0E2-ED879D6B3459"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "AF551463-942E-4AB2-B8E6-6133FF24F4A6",
              "fieldDefKey": "30DBBF17-766B-4EB0-AE4D-D5870EC87532"
            }
          ],
          "id": "A968A494-A280-4093-902D-2535C593506C"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "12E9C600-D079-4407-8F09-BC55BAEDB16F",
      "defKey": "patrol_inspection_plan_schedule",
      "defName": "巡检日程关联信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检日程关联信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "1CD1BB68-2034-4721-9BDF-19971692A70F"
        },
        {
          "rowNo": 2,
          "defKey": "plan_id",
          "defName": "主计划ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "CDC2392E-1B0F-44C1-B05A-E2D283AD47EB"
        },
        {
          "rowNo": 3,
          "defKey": "start_time",
          "defName": "开始时间",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4B79F337-9084-4F18-A7D2-39183938873A"
        },
        {
          "rowNo": 4,
          "defKey": "end_time",
          "defName": "结束时间",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3A7D2BBF-ACA7-4E94-9A69-A7B287262D41"
        },
        {
          "rowNo": 5,
          "defKey": "personnel_id",
          "defName": "巡检人员ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "07DB417A-CFBD-4A4A-A0DC-DA34F299E482"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "F3B1703A-26B4-467A-A37A-6C78CF1DDF47",
              "fieldDefKey": "1CD1BB68-2034-4721-9BDF-19971692A70F"
            }
          ],
          "id": "8CE3BEE2-732A-4627-AA20-3F7822D36EFE"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "12A0AF5A-91CA-4709-94D5-B8BFCF775847",
      "defKey": "patrol_inspection_plan_site",
      "defName": "主计划地点关联信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "主计划地点关联信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "B7B857DF-28A9-448F-9E5E-46709AE3CD95"
        },
        {
          "rowNo": 2,
          "defKey": "plan_id",
          "defName": "计划主表ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "23CBB798-E3D5-4307-AB85-8D3F233BE8C1"
        },
        {
          "rowNo": 3,
          "defKey": "site_id",
          "defName": "地点ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E2F13ADE-FE8C-4DDA-88F3-B9A25BAEF9B8"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "776D81BA-B452-4500-A734-DE3393163AA8",
              "fieldDefKey": "B7B857DF-28A9-448F-9E5E-46709AE3CD95"
            }
          ],
          "id": "DC9B180E-33C7-4CFC-8626-A1F31584B66D"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "F29116E1-79A2-405B-809F-DC4332783AA5",
      "defKey": "patrol_inspection_plan_site_son",
      "defName": "子计划地点关联信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "子计划地点关联信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "7B403A31-7580-4635-9272-70D86A7BC217"
        },
        {
          "rowNo": 2,
          "defKey": "plan_id",
          "defName": "计划子表ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D0101AD1-A4DB-405A-AFA7-7976C391414C"
        },
        {
          "rowNo": 3,
          "defKey": "site_id",
          "defName": "地点ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "6E69A0E8-687A-451E-ACE5-2D418BFA953B"
        },
        {
          "rowNo": 4,
          "defKey": "inspection_status",
          "defName": "巡检状态（1",
          "comment": "未巡检，2 已巡检）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BE43BD3F-AF8A-4241-868A-7B49C896DC54"
        },
        {
          "rowNo": 5,
          "defKey": "create_time",
          "defName": "巡检时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "622EB9FF-B0C8-4054-9093-279373ADC633"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "1B5E3B43-3CEA-4A00-9E7C-9F4E687A615B",
              "fieldDefKey": "7B403A31-7580-4635-9272-70D86A7BC217"
            }
          ],
          "id": "82C45809-B8DC-41CF-AAC9-21B01B3A95DF"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "091A99D1-1289-4B35-B6C9-E7527C483F78",
      "defKey": "patrol_inspection_plan_son",
      "defName": "巡检计划子信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检计划子信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "B66FF19C-3100-4D52-A79B-B0B9C9BD8F44"
        },
        {
          "rowNo": 2,
          "defKey": "plan_id",
          "defName": "计划主表id",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F9D2DF2A-22E0-4713-9121-2498A09ACDEB"
        },
        {
          "rowNo": 3,
          "defKey": "inspection_date",
          "defName": "巡检日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9F9CA73B-A0F5-423F-A3C4-F8F5F80C5545"
        },
        {
          "rowNo": 4,
          "defKey": "start_date",
          "defName": "开始日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A619231B-185B-40EA-A38E-4E4A2568ADAA"
        },
        {
          "rowNo": 5,
          "defKey": "end_date",
          "defName": "结束日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "3F1A603E-EAEB-4405-AF74-07E39160A4D3"
        },
        {
          "rowNo": 6,
          "defKey": "start_time",
          "defName": "开始时间",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E9C45379-3522-418A-97B9-858BE4241C3E"
        },
        {
          "rowNo": 7,
          "defKey": "end_time",
          "defName": "结束时间",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 20,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(20)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "69BBB4FC-1F70-4321-9625-093E1D0E32BB"
        },
        {
          "rowNo": 8,
          "defKey": "personnel_id",
          "defName": "巡检人员ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2B88B970-33C7-420D-9E3E-9DBE2568199F"
        },
        {
          "rowNo": 9,
          "defKey": "area_id",
          "defName": "巡检区域ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F3A735D6-9117-441A-A3EA-01804B1A2DC2"
        },
        {
          "rowNo": 10,
          "defKey": "plan_type",
          "defName": "计划类型（1",
          "comment": "普通计划，2 按次计划）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "932D3AD3-91EA-42C5-A5EB-41190309D0D8"
        },
        {
          "rowNo": 11,
          "defKey": "plan_cycle",
          "defName": "巡检周期（1",
          "comment": "日，2 周，3 月，4 年）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "77616EF4-8C7F-495F-8BE3-CFB284021693"
        },
        {
          "rowNo": 12,
          "defKey": "plan_frequency",
          "defName": "计划次数",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "64DFB131-B871-4388-8B31-13527DEF316E"
        },
        {
          "rowNo": 13,
          "defKey": "lap_time",
          "defName": "每圈用时（分钟）",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F0E81A99-EDCC-4AB8-89B1-250A048AA730"
        },
        {
          "rowNo": 14,
          "defKey": "interval_time",
          "defName": "两圈间隔时间（分钟）",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DA11AA90-CC5B-46E7-A474-1FAEFF55DC04"
        },
        {
          "rowNo": 15,
          "defKey": "plan_describe",
          "defName": "计划描述",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FAF591A5-D73E-4664-9496-18880482B570"
        },
        {
          "rowNo": 16,
          "defKey": "completion",
          "defName": "完成情况（百分比）",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B37E8F4B-485F-48CF-844D-8ABFB4AA32A6"
        },
        {
          "rowNo": 17,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "00AF8067-FA23-4185-A79B-A850384C8CBF"
        },
        {
          "rowNo": 18,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B1E54FF2-6C6D-49A0-A46C-F20692602AB4"
        },
        {
          "rowNo": 19,
          "defKey": "alternate_field",
          "defName": "备用字段",
          "comment": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "type": "VARCHAR",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(255)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A44282AA-39F9-49B5-93C0-F57C5FD7AF55"
        },
        {
          "rowNo": 20,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EA73B874-64BD-413B-88E8-98B3E4FB0A05"
        },
        {
          "rowNo": 21,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9E133477-FB3F-485E-BD94-4F542F04EDAF"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "D35A026F-A648-47D0-BF86-CA1C8A15BCD3",
              "fieldDefKey": "B66FF19C-3100-4D52-A79B-B0B9C9BD8F44"
            }
          ],
          "id": "A3EC2523-8DDF-4635-9FE1-5D5919044C6F"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "CDD38EA5-9FB6-4881-A073-F6DB14FEECAB",
      "defKey": "patrol_inspection_record",
      "defName": "",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检记录表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "2C831B30-579E-4481-9EFF-8EEB4EE8120A"
        },
        {
          "rowNo": 2,
          "defKey": "site_nubmber",
          "defName": "地点号码",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "ADA5F00B-8D1D-4A9C-B7C7-85F2751B9E23"
        },
        {
          "rowNo": 3,
          "defKey": "site_type",
          "defName": "地点类型",
          "comment": "(1二维码 2NFC)",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1A18FAB4-A846-44DE-8AED-590E69684B6D"
        },
        {
          "rowNo": 4,
          "defKey": "area_name",
          "defName": "区域名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "843DC637-3631-482C-8512-0ECD2DB96775"
        },
        {
          "rowNo": 5,
          "defKey": "site_name",
          "defName": "地点名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "FD7D4999-0B24-4682-AF1F-CB2C671038CA"
        },
        {
          "rowNo": 6,
          "defKey": "name",
          "defName": "巡检人员",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "7BFE9846-4FA3-4243-BA43-2B683CDF20F9"
        },
        {
          "rowNo": 7,
          "defKey": "phone",
          "defName": "联系电话",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F8CF1963-B5A1-4850-BD42-1871AABFBC36"
        },
        {
          "rowNo": 8,
          "defKey": "plan_type",
          "defName": "计划类型（1",
          "comment": "普通计划，2 按次计划）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9FFE25BD-230F-4E57-81F0-40BDE206F74A"
        },
        {
          "rowNo": 9,
          "defKey": "site_status",
          "defName": "定位",
          "comment": "（0：未定位 1：已定位）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2876A6A2-0E96-4B72-9782-31EF0AB2BC35"
        },
        {
          "rowNo": 10,
          "defKey": "longitude",
          "defName": "经度",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "'0'",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2ACE9302-5FF6-41DE-ADDE-6DF10E95EBB9"
        },
        {
          "rowNo": 11,
          "defKey": "latitude",
          "defName": "纬度",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "'0'",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A9334A1F-F924-497D-AD05-CA6F2E317C28"
        },
        {
          "rowNo": 12,
          "defKey": "start_date",
          "defName": "开始时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2AF0F0ED-F0CC-43E9-B1FE-50A0B0F33F37"
        },
        {
          "rowNo": 13,
          "defKey": "end_date",
          "defName": "结束时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DB4A8DA9-7AE6-43CF-A34E-FDB408534AC0"
        },
        {
          "rowNo": 14,
          "defKey": "create_time",
          "defName": "创建时间/巡检时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "924F6C60-68F7-4816-B756-15C6A9AD60C8"
        },
        {
          "rowNo": 15,
          "defKey": "plan_id",
          "defName": "巡检计划主表ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "76F79FF3-2246-42E0-A616-EBA7EBB3DB12"
        },
        {
          "rowNo": 16,
          "defKey": "plan_son_id",
          "defName": "巡检计划子表ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8386749F-F568-47A9-A71C-36A8666301CC"
        },
        {
          "rowNo": 17,
          "defKey": "site_id",
          "defName": "巡检地点ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "207F4AD2-5A48-4C4E-906B-EFCC5F663C2D"
        },
        {
          "rowNo": 18,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "43D4C2B5-0F51-4D9B-8252-C08A6E55E3AF"
        },
        {
          "rowNo": 19,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "2DE189A6-7B6F-416A-AD01-692863861314"
        },
        {
          "rowNo": 20,
          "defKey": "creator",
          "defName": "用户名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "68072086-593F-4D79-B35D-6DC6949E6076"
        },
        {
          "rowNo": 21,
          "defKey": "remarks",
          "defName": "备注",
          "comment": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "type": "VARCHAR",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(255)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "5091411F-1B66-480F-9652-599DF8E75E9C"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "F6E95F47-CDD9-4453-90DE-EFD25B1E2F94",
              "fieldDefKey": "2C831B30-579E-4481-9EFF-8EEB4EE8120A"
            }
          ],
          "id": "5632B3DD-F131-417D-A01E-9E36ED71F56C"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "E2B0A361-11BB-4DB0-97CE-5FD61DC3F748",
      "defKey": "patrol_inspection_record_option",
      "defName": "巡检记录内容选项关联表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检记录内容选项关联表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "16F722B5-1957-4508-A211-242C5E0920C3"
        },
        {
          "rowNo": 2,
          "defKey": "record_id",
          "defName": "记录ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "EE17FA58-7E4E-483B-B56A-52A0B5624C04"
        },
        {
          "rowNo": 3,
          "defKey": "content_option_id",
          "defName": "内容选项ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "979BF8F2-8F55-45CA-94CE-9FBA3DD33B14"
        },
        {
          "rowNo": 4,
          "defKey": "remarks",
          "defName": "备注",
          "comment": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "type": "VARCHAR",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(255)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A4A94DFD-A96D-4ED2-AE5F-7C4D913BBBE8"
        },
        {
          "rowNo": 5,
          "defKey": "content",
          "defName": "内容",
          "comment": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "type": "VARCHAR",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(255)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F7D5E1B7-E84B-45D5-8FD7-EC0D17829BE6"
        },
        {
          "rowNo": 6,
          "defKey": "content_id",
          "defName": "检查项ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C014BCC6-0C8B-4A99-A170-7B0146FD547E"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "7076475E-46B1-4B4E-A289-95301A5C89FE",
              "fieldDefKey": "16F722B5-1957-4508-A211-242C5E0920C3"
            }
          ],
          "id": "3F20809C-DBA3-4976-9D1D-B4716F4E2F91"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "E2AF8FB7-0434-4DEB-BFFA-DAFE4B968D2B",
      "defKey": "patrol_inspection_record_picture",
      "defName": "记录上传图片关联表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "记录上传图片关联表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "3C36308C-A92F-42E3-B11C-50CAEA78CEF8"
        },
        {
          "rowNo": 2,
          "defKey": "record_id",
          "defName": "巡检记录ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "86BDFC92-74D4-4C5B-8FBB-53E8D0EA38FD"
        },
        {
          "rowNo": 3,
          "defKey": "picture_url",
          "defName": "图片路径",
          "comment": "",
          "domain": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3",
          "type": "VARCHAR",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(255)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A03D2FA4-8BCB-43CC-84AB-7C1E8AC743E8"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "F1FE3656-087A-4C54-9BBB-AD8107C2EEB2",
              "fieldDefKey": "3C36308C-A92F-42E3-B11C-50CAEA78CEF8"
            }
          ],
          "id": "F59698C1-26F7-4BE3-AC4A-3135C47CC992"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "9F7AD8DD-D6DA-4342-B470-706828A3691F",
      "defKey": "patrol_inspection_site",
      "defName": "巡检地点信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "巡检地点信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "D4BDEBF2-C695-4F52-BC22-33E557930EC2"
        },
        {
          "rowNo": 2,
          "defKey": "site_name",
          "defName": "地点名称",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "27F05D62-A537-4478-BA76-0B2D0E08643D"
        },
        {
          "rowNo": 3,
          "defKey": "site_nubmber",
          "defName": "地点号码",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "028017DA-131E-4334-8A9B-C94E7BC0C848"
        },
        {
          "rowNo": 4,
          "defKey": "site_describe",
          "defName": "地点描述",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "B700193E-6DD6-4E5C-9DB3-4BE3AD7DE896"
        },
        {
          "rowNo": 5,
          "defKey": "site_type",
          "defName": "地点类型",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "8B7AF8FE-6355-4066-A800-D0D6B45C4AC2"
        },
        {
          "rowNo": 6,
          "defKey": "collector",
          "defName": "采集人员",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "C1E1407E-26C8-4E51-81BE-AA0520B24CE2"
        },
        {
          "rowNo": 7,
          "defKey": "collect_time",
          "defName": "采集时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "0F3A85F2-EA04-4AE0-83B6-D3235FE7D131"
        },
        {
          "rowNo": 8,
          "defKey": "longitude",
          "defName": "经度",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "846BAA11-B721-4637-8FAE-CB25378E0078"
        },
        {
          "rowNo": 9,
          "defKey": "latitude",
          "defName": "纬度",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 50,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(50)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "4E425161-D2DF-495C-A97C-896B7A1E9DED"
        },
        {
          "rowNo": 10,
          "defKey": "area_id",
          "defName": "区域id",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "E3D4ACEE-168B-4FD2-AAA8-849A58112213"
        },
        {
          "rowNo": 11,
          "defKey": "picture_url",
          "defName": "图片地址",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 200,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(200)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "D60B5C5F-D175-42AD-9DDF-B0C0A545DA27"
        },
        {
          "rowNo": 12,
          "defKey": "create_time",
          "defName": "创建时间",
          "comment": "",
          "domain": "A87C34F3-7809-4038-9FDA-33D64663B367",
          "type": "DATETIME",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATETIME",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "BE9C9D38-6E4E-4487-A745-7CBA61D2B585"
        },
        {
          "rowNo": 13,
          "defKey": "creator",
          "defName": "创建人",
          "comment": "",
          "domain": "",
          "type": "VARCHAR",
          "len": 25,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "VARCHAR(25)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "9118A9A8-EE66-45B4-AFDF-0E10121F90BC"
        },
        {
          "rowNo": 14,
          "defKey": "enable",
          "defName": "使能标识（0",
          "comment": "不生效，1 生效）",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "1",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "33E05807-07F5-49B4-8A5C-45A482577DC2"
        },
        {
          "rowNo": 15,
          "defKey": "distance_range",
          "defName": "误差范围",
          "comment": "",
          "domain": "",
          "type": "DOUBLE",
          "len": 22,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DOUBLE(22)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "DADDD818-3266-422F-84F2-18EBE0F650F1"
        },
        {
          "rowNo": 16,
          "defKey": "tenant_id",
          "defName": "租户ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1BE63412-BFA7-48F4-A12D-44B0438ABB47"
        },
        {
          "rowNo": 17,
          "defKey": "company_id",
          "defName": "单位ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "A9182906-04E8-45E8-B788-17B9B2A8D065"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "7BB0C0D8-A02B-4ABF-B063-20EDA29D18AB",
              "fieldDefKey": "D4BDEBF2-C695-4F52-BC22-33E557930EC2"
            }
          ],
          "id": "928E1D95-5314-4588-B3F7-14004F341555"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "8FA0E732-6AA0-4C16-AC7A-C32BBD819334",
      "defKey": "patrol_inspection_site_content",
      "defName": "地点内容关联信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "地点内容关联信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "EEC2F2EC-D3D4-465C-984B-58CEA5F10E63"
        },
        {
          "rowNo": 2,
          "defKey": "site_id",
          "defName": "地点ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "F4AC44ED-F45F-49C1-A587-BD484BD2B953"
        },
        {
          "rowNo": 3,
          "defKey": "content_id",
          "defName": "内容ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "AC6C6694-6C9B-4483-AFC3-6C47361CCD20"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "7E58CDFF-0E02-4137-B734-0321AB2E2201",
              "fieldDefKey": "EEC2F2EC-D3D4-465C-984B-58CEA5F10E63"
            }
          ],
          "id": "3A4C5C22-293D-4623-AD8C-81768E3B2A0F"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "61AB6067-3D01-4239-8079-E57822AABD15",
      "defKey": "patrol_inspection_special_rest_day",
      "defName": "特殊休息日关联信息表",
      "comment": "",
      "properties": {},
      "fields": [
        {
          "rowNo": 1,
          "defKey": "id",
          "defName": "特殊休息日关联信息表主键ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "√",
          "notNullName": "√",
          "autoIncrementName": "√",
          "refDict": "",
          "id": "AAC02F6E-9348-484C-86BF-BF542110E592"
        },
        {
          "rowNo": 2,
          "defKey": "plan_id",
          "defName": "主计划ID",
          "comment": "",
          "domain": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "0",
          "hideInGraph": false,
          "typeFullName": "INT(11)",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "457A01D4-0486-4F41-AF0C-F79500AC1B15"
        },
        {
          "rowNo": 3,
          "defKey": "rest_date",
          "defName": "休息日期日期",
          "comment": "",
          "domain": "",
          "type": "DATE",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "typeFullName": "DATE",
          "primaryKeyName": "",
          "notNullName": "",
          "autoIncrementName": "",
          "refDict": "",
          "id": "1A438C20-87D3-4C7C-933E-C6D73EEEB63F"
        }
      ],
      "indexes": [
        {
          "defKey": "PRIMARY",
          "unique": true,
          "defName": null,
          "comment": "",
          "fields": [
            {
              "ascOrDesc": "A",
              "id": "F57EE8D5-C762-4839-A73A-6C92D57D786B",
              "fieldDefKey": "AAC02F6E-9348-484C-86BF-BF542110E592"
            }
          ],
          "id": "0747F820-5C5C-46BA-9C9E-73398D88C469"
        }
      ],
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": true,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        },
        {
          "refKey": "extProps",
          "hideInGraph": true,
          "freeze": false
        }
      ],
      "correlations": []
    },
    {
      "id": "5CE41631-39A5-407B-90CB-162567390B87",
      "defKey": "sys_user_person",
      "defName": "用户人员关联",
      "comment": "",
      "properties": {},
      "nameTemplate": "{defKey}[{defName}]",
      "headers": [
        {
          "freeze": false,
          "refKey": "hideInGraph",
          "hideInGraph": true
        },
        {
          "freeze": true,
          "refKey": "defKey",
          "hideInGraph": false
        },
        {
          "freeze": true,
          "refKey": "defName",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "primaryKey",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "notNull",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "autoIncrement",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "domain",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "type",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "len",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "scale",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "comment",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "refDict",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "defaultValue",
          "hideInGraph": true
        },
        {
          "freeze": false,
          "refKey": "isStandard",
          "hideInGraph": false
        },
        {
          "freeze": false,
          "refKey": "uiHint",
          "hideInGraph": true
        }
      ],
      "fields": [
        {
          "defKey": "id",
          "defName": "主键ID",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": 0,
          "primaryKey": true,
          "notNull": true,
          "autoIncrement": true,
          "defaultValue": "",
          "hideInGraph": false,
          "domain": "",
          "refDict": "",
          "uiHint": "",
          "id": "1505850A-2D39-4C44-A9FD-45ECB8A1BF4D"
        },
        {
          "defKey": "user_id",
          "defName": "",
          "comment": "",
          "type": "",
          "len": "",
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "F7EABB8F-91CF-464B-9AE9-3ED276712D65",
          "id": "81201485-0C60-43CB-93A7-9A0447BF2EA0"
        },
        {
          "defKey": "person_id",
          "defName": "",
          "comment": "",
          "type": "INT",
          "len": 11,
          "scale": "",
          "primaryKey": false,
          "notNull": false,
          "autoIncrement": false,
          "defaultValue": "",
          "hideInGraph": false,
          "refDict": "",
          "domain": "",
          "id": "48FC4603-2630-4AAA-9A2A-1142BCD4E57E"
        }
      ],
      "correlations": [],
      "indexes": []
    }
  ],
  "views": [],
  "dicts": [],
  "viewGroups": [],
  "dataTypeMapping": {
    "referURL": "",
    "mappings": [
      {
        "defKey": "string",
        "defName": "字串",
        "id": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "VARCHAR",
        "5451CFEC-A96A-499A-9512-CF8717144819": "VARCHAR2",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "VARCHAR",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "VARCHAR",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "VARCHAR",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "VARCHAR2",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "VARCHAR",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "VARCHAR",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "STRING",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "String",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "string"
      },
      {
        "defKey": "double",
        "defName": "小数",
        "id": "515FF5DD-00AB-4DC3-B6BD-DF916C64AA7A",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "DECIMAL",
        "5451CFEC-A96A-499A-9512-CF8717144819": "DECIMAL",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "DECIMAL",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "NUMERIC",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "DECIMAL",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "DECIMAL",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "NUMERIC",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "NUMERIC",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "DOUBLE",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "Double",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "float"
      },
      {
        "defKey": "int",
        "defName": "整数",
        "id": "F03DECE5-72CD-4709-A591-6B5A3342441A",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "INT",
        "5451CFEC-A96A-499A-9512-CF8717144819": "INT",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "INT",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "INTEGER",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "INT",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "INTEGER",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "INTEGER",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "INT4",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "INT",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "Integer",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "float"
      },
      {
        "defKey": "date",
        "defName": "日期",
        "id": "48C755CD-D562-461A-AB42-BD25388741CB",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "DATETIME",
        "5451CFEC-A96A-499A-9512-CF8717144819": "DATE",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "DATETIME",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "DATE",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "DATE",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "DATE",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "DATE",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "DATE",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "DATETIME",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "Date",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "date"
      },
      {
        "defKey": "bytes",
        "defName": "二进制",
        "id": "8AFCE25A-28DB-422F-856E-58BE47D8AE89",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "BLOB",
        "5451CFEC-A96A-499A-9512-CF8717144819": "BLOB",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "VARBINARY",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "BYTEA",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "BLOB",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "BLOB",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "BYTEA",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "BYTEA",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "BINARY",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "byte[]",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "binary"
      },
      {
        "defKey": "largeText",
        "defName": "大文本",
        "id": "52CED847-F397-46C7-BAF3-AA584DB560BB",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "TEXT",
        "5451CFEC-A96A-499A-9512-CF8717144819": "CLOB",
        "D7E685FA-65A4-4C9A-BF45-D49DC5525FA2": "TEXT",
        "F6D0C3A3-F26B-4637-B95C-02B19B015C20": "TEXT",
        "BB2233A5-9B24-4C8D-9479-43E7BB06C758": "CLOB",
        "B4CB0DB2-7E90-4FF8-961E-43E64180AA0F": "CLOB",
        "9C06DC3D-74B1-4948-AD7A-DF3F74EC5011": "TEXT",
        "579A07A8-F7FF-4821-BDE4-72EB7567868B": "TEXT",
        "678A4D8A-5771-4D80-A395-0D30D7F44717": "STRING",
        "01F48C44-0890-4999-8E9E-E2D102C9C092": "String",
        "516020FD-5569-46D4-BD3A-91B34EA0BB16": "string"
      },
      {
        "defKey": "bigint",
        "defName": "bigint",
        "id": "AF55576E-1972-4121-A098-84888C29060F",
        "C1235FE7-B5F8-4681-9C0B-37876ADBDE03": "BIGINT"
      }
    ]
  },
  "domains": [
    {
      "defKey": "DefaultString",
      "defName": "默认字串",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": 255,
      "scale": "",
      "uiHint": "",
      "id": "7E37BD5D-93F2-46FB-84AA-73574C3EF8C3"
    },
    {
      "defKey": "IdOrKey",
      "defName": "主键标识",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": 32,
      "scale": "",
      "uiHint": "",
      "id": "B1B5C60D-2BCF-4C72-A36A-E7A13734289E"
    },
    {
      "defKey": "Name",
      "defName": "名称",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": 90,
      "scale": "",
      "uiHint": "",
      "id": "0DDA601B-CB43-4969-BD90-5F420693C18A"
    },
    {
      "defKey": "Int",
      "defName": "整数",
      "applyFor": "F03DECE5-72CD-4709-A591-6B5A3342441A",
      "len": "",
      "scale": "",
      "uiHint": "",
      "id": "A8119FD4-A323-4E43-B32D-23D5EADA341C"
    },
    {
      "defKey": "Double",
      "defName": "小数",
      "applyFor": "515FF5DD-00AB-4DC3-B6BD-DF916C64AA7A",
      "len": 24,
      "scale": 6,
      "uiHint": "",
      "id": "33DD54F4-34C0-4022-A890-90ADF2F0E5B8"
    },
    {
      "defKey": "Money",
      "defName": "金额",
      "applyFor": "515FF5DD-00AB-4DC3-B6BD-DF916C64AA7A",
      "len": 24,
      "scale": 6,
      "uiHint": "",
      "id": "103D0037-BF07-480F-BBF7-4920D761B0EA"
    },
    {
      "defKey": "DateTime",
      "defName": "日期时间",
      "applyFor": "48C755CD-D562-461A-AB42-BD25388741CB",
      "len": "",
      "scale": "",
      "uiHint": "",
      "id": "A87C34F3-7809-4038-9FDA-33D64663B367"
    },
    {
      "defKey": "YesNo",
      "defName": "是否",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": "1",
      "scale": "",
      "uiHint": "",
      "id": "818D48CA-25AE-4DF6-8A67-183E0B35FFC9"
    },
    {
      "defKey": "Dict",
      "defName": "数据字典",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": "32",
      "scale": "",
      "uiHint": "",
      "id": "570D16FE-FF0F-4EC5-A92F-29606309341E"
    },
    {
      "defKey": "DescText",
      "defName": "描述文本",
      "applyFor": "67CB0F3C-5F76-486F-B3EC-7AB3A8AE8888",
      "len": "900",
      "scale": "",
      "uiHint": "",
      "id": "35ED5E8D-2134-4A61-B271-429935C17B60"
    },
    {
      "defKey": "bigint",
      "defName": "",
      "applyFor": "AF55576E-1972-4121-A098-84888C29060F",
      "len": 20,
      "scale": "",
      "uiHint": "",
      "id": "F7EABB8F-91CF-464B-9AE9-3ED276712D65"
    }
  ],
  "dbConn": [
    {
      "defKey": "EA900935-DB8F-40C6-9570-A2FE71983455",
      "defName": "75消防企业版",
      "type": "C1235FE7-B5F8-4681-9C0B-37876ADBDE03",
      "properties": {
        "driver_class_name": "com.mysql.cj.jdbc.Driver",
        "url": "jdbc:mysql://101.133.214.75:3306/usky-fire?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC",
        "password": "Yt#75Usky",
        "username": "usky"
      }
    },
    {
      "defKey": "B8AC05C2-2783-4C16-9EBB-E952CC86E100",
      "defName": "本地165测试库",
      "type": "C1235FE7-B5F8-4681-9C0B-37876ADBDE03",
      "properties": {
        "driver_class_name": "com.mysql.cj.jdbc.Driver",
        "url": "jdbc:mysql://172.16.120.165:3306/usky-fire?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC",
        "password": "Yt#75Usky",
        "username": "usky"
      }
    }
  ],
  "diagrams": [
    {
      "defKey": "patrol",
      "defName": "巡检管理",
      "relationType": "field",
      "canvasData": {
        "cells": [
          {
            "id": "4ea37e03-96f3-44ac-8907-c50f4e85b193",
            "shape": "erdRelation",
            "source": {
              "cell": "d02a0740-a91e-430a-a48e-78fbb39d7929",
              "port": "B66FF19C-3100-4D52-A79B-B0B9C9BD8F44%in"
            },
            "target": {
              "cell": "6dc86a05-b495-41c7-856b-866012bbf1ca",
              "port": "D0101AD1-A4DB-405A-AFA7-7976C391414C%out"
            },
            "relation": "1:n",
            "fillColor": "#ACDAFC",
            "router": {
              "name": "manhattan"
            }
          },
          {
            "id": "d02a0740-a91e-430a-a48e-78fbb39d7929",
            "shape": "table",
            "position": {
              "x": 280,
              "y": 50
            },
            "count": 0,
            "originKey": "091A99D1-1289-4B35-B6C9-E7527C483F78"
          },
          {
            "id": "6dc86a05-b495-41c7-856b-866012bbf1ca",
            "shape": "table",
            "position": {
              "x": -259,
              "y": 234
            },
            "count": 0,
            "originKey": "F29116E1-79A2-405B-809F-DC4332783AA5"
          }
        ]
      },
      "id": "A0838DAE-462A-48F1-9675-329F50752384"
    }
  ],
  "standardFields": []
}