{
  "virtualflag" : 0,
  "psdataentityname" : "OMHIERARCHYPURPOSE",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "OMHierarchyPurpose",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "storagemode" : 1,
  "logicname" : "组织层次结构应用",
  "existingmodel" : 0,
  "enatempdata" : 0,
  "systemflag" : 0,
  "tablename" : "OMHIERARCHYPURPOSE",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto139",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 3,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYPURPOSE/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "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/OMHIERARCHYPURPOSE/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "predefinetype" : "CREATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "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" : "OMHIERARCHYPURPOSEID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYPURPOSE/OMHIERARCHYPURPOSEID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OMHierarchyPurposeId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "pkey" : 1,
    "length" : 100,
    "logicname" : "组织层次机构目的标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[OMHIERARCHYPURPOSEID][组织层次机构目的标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[OMHIERARCHYPURPOSEID][组织层次机构目的标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OMHIERARCHYPURPOSEID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "OMHIERARCHYPURPOSENAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYPURPOSE/OMHIERARCHYPURPOSENAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OMHierarchyPurposeName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "pkey" : 0,
    "length" : 200,
    "logicname" : "组织层次机构目的名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[OMHIERARCHYPURPOSENAME][组织层次机构目的名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[OMHIERARCHYPURPOSENAME][组织层次机构目的名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_OMHIERARCHYPURPOSENAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OMHIERARCHYPURPOSENAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/OMHIERARCHYPURPOSE/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "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/OMHIERARCHYPURPOSE/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/OMHIERARCHYPURPOSE",
    "predefinetype" : "UPDATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "OMHIERARCHYPURPOSE",
    "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/OMHIERARCHYPURPOSE",
    "psdetablename" : "OMHIERARCHYPURPOSE",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:14:36"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `OMHIERARCHYPURPOSE`(\n`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`OMHIERARCHYPURPOSENAME`  VARCHAR(200) COMMENT '组织层次机构目的名称' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`OMHIERARCHYPURPOSEID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT '组织层次机构目的标识' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n)COMMENT='组织层次结构应用';",
    "testsql" : "SELECT 1 FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "44c058aa7440d4bf9ca998a9e790f8df",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYPURPOSE",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "d8801af47bf4c5301e037eef5a8736d1",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "50e54675187656ac130589d18fc2b376",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.OMHIERARCHYPURPOSEID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `OMHIERARCHYPURPOSEID`  VARCHAR(100)  COMMENT '组织层次机构目的标识' \n",
    "testsql" : "SELECT `OMHIERARCHYPURPOSEID` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "66c26914e00a3ff4fcde992ed0da4021",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYPURPOSEID",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.OMHIERARCHYPURPOSENAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `OMHIERARCHYPURPOSENAME`  VARCHAR(200)  COMMENT '组织层次机构目的名称' \n",
    "testsql" : "SELECT `OMHIERARCHYPURPOSENAME` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "372c0a9488fe80b2ca3deb4c61a8b72c",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OMHIERARCHYPURPOSENAME",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "0fbf450ee297628f61457dee517d5b37",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "OMHIERARCHYPURPOSE.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `OMHIERARCHYPURPOSE`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `OMHIERARCHYPURPOSE` WHERE 1<>1",
    "psobjid" : "f9867222b56f95085306b4cd6f98fb47",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:47:41"
  } ]
}