{
  "virtualflag" : 0,
  "psdataentityname" : "OMHIERARCHYCAT",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "OMHierarchyCat",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "storagemode" : 1,
  "logicname" : "结构层次类别",
  "existingmodel" : 0,
  "enatempdata" : 0,
  "systemflag" : 0,
  "tablename" : "OMHIERARCHYCAT",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto147",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 3,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[CREATEDATE][建立时间]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[CREATEDATE][建立时间]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "CREATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "predefinetype" : "CREATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[CREATEMAN][建立人]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[CREATEMAN][建立人]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "MEMO",
    "psdatatypename" : "长文本，长度1000",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/MEMO",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "Memo",
    "psdatatypeid" : "LONGTEXT_1000",
    "createdate" : "2020-08-26 18:51:01",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "pkey" : 0,
    "length" : 2000,
    "logicname" : "备注",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-26 18:51:01",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[MEMO][备注]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-26 18:51:02",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[MEMO][备注]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "MEMO",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-26 18:51:01"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "OMHIERARCHYCATID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/OMHIERARCHYCATID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OMHierarchyCatId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "pkey" : 1,
    "length" : 100,
    "logicname" : " 结构层次类别标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[OMHIERARCHYCATID][实体标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[OMHIERARCHYCATID][实体标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OMHIERARCHYCATID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "OMHIERARCHYCATNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/OMHIERARCHYCATNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OMHierarchyCatName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "pkey" : 0,
    "length" : 200,
    "logicname" : " 结构层次类别名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[OMHIERARCHYCATNAME][实体名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[OMHIERARCHYCATNAME][实体名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_OMHIERARCHYCATNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OMHIERARCHYCATNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UPDATEDATE][更新时间]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UPDATEDATE][更新时间]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UPDATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYCAT/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYCAT",
    "predefinetype" : "UPDATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYCAT",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UPDATEMAN][更新人]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UPDATEMAN][更新人]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  } ],
  "psdeopprivs" : [ {
    "logicname" : "建立",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "CREATE"
  }, {
    "logicname" : "删除",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "DELETE"
  }, {
    "logicname" : "读取",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "READ"
  }, {
    "logicname" : "更新",
    "createdate" : "2020-08-07 09:43:50",
    "psdeopprivname" : "UPDATE"
  } ],
  "psdetables" : [ {
    "pssysdbtableid" : "DEFAULT/OMHIERARCHYCAT",
    "psdetablename" : "OMHIERARCHYCAT",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:16:00"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `OMHIERARCHYCAT`(\n`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`OMHIERARCHYCATNAME`  VARCHAR(200) COMMENT ' 结构层次类别名称' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`OMHIERARCHYCATID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT ' 结构层次类别标识' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`MEMO`  VARCHAR(2000) COMMENT '备注' \n)COMMENT='结构层次类别';",
    "testsql" : "SELECT 1 FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "10dedc221d95a328a7d3b68fc0fc0e98",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYCAT",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "b1517527ec89b6af8ca48e864d236dd5",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "88b10351c9e330fdfd28f469adfc3e75",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.MEMO",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `MEMO`  VARCHAR(2000)  COMMENT '备注' \n",
    "testsql" : "SELECT `MEMO` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "534c438d02135f445279e3247f03e659",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "MEMO",
    "createdate" : "2020-08-27 14:36:14"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.OMHIERARCHYCATID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `OMHIERARCHYCATID`  VARCHAR(100)  COMMENT ' 结构层次类别标识' \n",
    "testsql" : "SELECT `OMHIERARCHYCATID` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "8e9c18006bbcacc96986135c1b0e7dbe",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYCATID",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.OMHIERARCHYCATNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `OMHIERARCHYCATNAME`  VARCHAR(200)  COMMENT ' 结构层次类别名称' \n",
    "testsql" : "SELECT `OMHIERARCHYCATNAME` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "70ef33a1a384b2b9405e386644baadd3",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYCATNAME",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "1be4f6da4e8116ac0bfb89e18f8cce69",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:48:06"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYCAT.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYCAT`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `OMHIERARCHYCAT` WHERE 1<>1",
    "psobjid" : "2e6d335c43d9d1fc32a26fabfeeaa372",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:48:06"
  } ]
}