{
  "virtualflag" : 0,
  "psdataentityname" : "INVENTORY",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "Inventory",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "storagemode" : 1,
  "logicname" : "库存",
  "existingmodel" : 0,
  "enatempdata" : 0,
  "systemflag" : 0,
  "tablename" : "INVENTORY",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto133",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "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" : 0,
    "psdefieldname" : "CREATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "predefinetype" : "CREATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "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" : "INVENTORYID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/INVENTORYID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "InventoryId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 1,
    "length" : 100,
    "logicname" : "库存标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[INVENTORYID][库存标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[INVENTORYID][库存标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "INVENTORYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "INVENTORYNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/INVENTORYNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "InventoryName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 0,
    "length" : 200,
    "logicname" : "库存名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[INVENTORYNAME][库存名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[INVENTORYNAME][库存名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_INVENTORYNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "INVENTORYNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "PRODUCTID",
    "psdatatypename" : "外键值",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/PRODUCTID",
    "validflag" : 1,
    "derpsdefid" : "Product/PRODUCT/PRODUCTID",
    "physicalfield" : 1,
    "codename" : "ProductId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "PRODUCTID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 0,
    "logicname" : "产品",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 1,
    "psdername" : "DER1N_INVENTORY_PRODUCT_PRODUCTID",
    "tablename" : "T_INVENTORY",
    "psderid" : "<PSDATAENTITY>/DER1N_INVENTORY_PRODUCT_PRODUCTID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[PRODUCTID][产品]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[PRODUCTID][产品]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_PRODUCTID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "PRODUCTID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "PRODUCTNAME",
    "psdatatypename" : "外键值文本",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/PRODUCTNAME",
    "validflag" : 1,
    "derpsdefid" : "Product/PRODUCT/PRODUCTNAME",
    "physicalfield" : 1,
    "codename" : "productName",
    "psdatatypeid" : "PICKUPTEXT",
    "derpsdefname" : "PRODUCTNAME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 0,
    "logicname" : "产品",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_INVENTORY_PRODUCT_PRODUCTID",
    "tablename" : "T_INVENTORY",
    "psderid" : "<PSDATAENTITY>/DER1N_INVENTORY_PRODUCT_PRODUCTID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[PRODUCTNAME][产品]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[PRODUCTNAME][产品]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_PRODUCTNAME_EQ",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_PRODUCTNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "PRODUCTNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UOMID",
    "psdatatypename" : "外键值",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/UOMID",
    "validflag" : 1,
    "derpsdefid" : "Base/UOM/UOMID",
    "physicalfield" : 1,
    "codename" : "UoMId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "UOMID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 0,
    "logicname" : "计价单位",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 1,
    "psdername" : "DER1N_INVENTORY_UOM_UOMID",
    "tablename" : "T_INVENTORY",
    "psderid" : "<PSDATAENTITY>/DER1N_INVENTORY_UOM_UOMID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UOMID][计价单位]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UOMID][计价单位]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_UOMID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UOMID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UOMNAME",
    "psdatatypename" : "外键值文本",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/UOMNAME",
    "validflag" : 1,
    "derpsdefid" : "Base/UOM/UOMNAME",
    "physicalfield" : 1,
    "codename" : "UomName",
    "psdatatypeid" : "PICKUPTEXT",
    "derpsdefname" : "UOMNAME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "pkey" : 0,
    "logicname" : "计价单位",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_INVENTORY_UOM_UOMID",
    "tablename" : "T_INVENTORY",
    "psderid" : "<PSDATAENTITY>/DER1N_INVENTORY_UOM_UOMID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UOMNAME][计价单位]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UOMNAME][计价单位]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_UOMNAME_EQ",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_UOMNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UOMNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 0,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "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" : 0,
    "psdefieldname" : "UPDATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/INVENTORY/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/INVENTORY",
    "predefinetype" : "UPDATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "T_INVENTORY",
    "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/INVENTORY",
    "psdetablename" : "INVENTORY",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:14:39"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `INVENTORY`(\n`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`INVENTORYNAME`  VARCHAR(200) COMMENT '库存名称' \n,`INVENTORYID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT '库存标识' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`UOMNAME`  VARCHAR(100) COMMENT '计价单位' \n,`PRODUCTNAME`  VARCHAR(100) COMMENT '产品' \n,`PRODUCTID`  VARCHAR(60) COMMENT '产品' \n,`UOMID`  VARCHAR(60) COMMENT '计价单位' \n)COMMENT='库存';",
    "testsql" : "SELECT 1 FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "d14187cc7ede81e7ddd2394cb41b6978",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORY",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "a31d3734c48e93bd4717ad3fc524533d",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "bfa472ac1336e9cff9ab5d411ef13e47",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.INVENTORYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `INVENTORYID`  VARCHAR(100)  COMMENT '库存标识' \n",
    "testsql" : "SELECT `INVENTORYID` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "6cc3ba747a26544414c4270e7d85a914",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORYID",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.INVENTORYNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `INVENTORYNAME`  VARCHAR(200)  COMMENT '库存名称' \n",
    "testsql" : "SELECT `INVENTORYNAME` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "5f60c9e3dfe9ae11c697d283f1a4f7af",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORYNAME",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.PRODUCTID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE INVENTORY ADD CONSTRAINT F7A6D32753B470B917 FOREIGN KEY(PRODUCTID) REFERENCES PRODUCT(PRODUCTID)",
    "psobjid" : "c7e43c42b1aa307c1df43654755b98ec",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTID",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.PRODUCTID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `PRODUCTID`  VARCHAR(60)  COMMENT '产品' \n",
    "testsql" : "SELECT `PRODUCTID` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "c7e43c42b1aa307c1df43654755b98ec",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTID",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.PRODUCTNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `PRODUCTNAME`  VARCHAR(100)  COMMENT '产品' \n",
    "testsql" : "SELECT `PRODUCTNAME` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "c978f5f405dd78de23baa9e647aa783a",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTNAME",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.UOMID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE INVENTORY ADD CONSTRAINT F4C722AF6037A6A118 FOREIGN KEY(UOMID) REFERENCES UOM(UOMID)",
    "psobjid" : "ceb9402938b62d81857a8513f089d714",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMID",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.UOMID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `UOMID`  VARCHAR(60)  COMMENT '计价单位' \n",
    "testsql" : "SELECT `UOMID` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "ceb9402938b62d81857a8513f089d714",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMID",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.UOMNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `UOMNAME`  VARCHAR(100)  COMMENT '计价单位' \n",
    "testsql" : "SELECT `UOMNAME` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "b74577b857b636c9098e9b6bc307b7a5",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMNAME",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "023e1ca6160897ce2faf00b91bf89475",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "INVENTORY.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `INVENTORY`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `INVENTORY` WHERE 1<>1",
    "psobjid" : "44bcf10ef1fb36eef69df97b8aafea25",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-19 17:06:23"
  }, {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `T_INVENTORY`(\n`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`INVENTORYNAME`  VARCHAR(200) COMMENT '库存名称' \n,`INVENTORYID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT '库存标识' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`UOMNAME`  VARCHAR(100) COMMENT '计价单位' \n,`PRODUCTNAME`  VARCHAR(100) COMMENT '产品' \n,`PRODUCTID`  VARCHAR(60) COMMENT '产品' \n,`UOMID`  VARCHAR(60) COMMENT '计价单位' \n)COMMENT='库存';",
    "testsql" : "SELECT 1 FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "d14187cc7ede81e7ddd2394cb41b6978",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORY",
    "createdate" : "2020-08-07 09:47:41"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "a31d3734c48e93bd4717ad3fc524533d",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "bfa472ac1336e9cff9ab5d411ef13e47",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.INVENTORYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `INVENTORYID`  VARCHAR(100)  COMMENT '库存标识' \n",
    "testsql" : "SELECT `INVENTORYID` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "6cc3ba747a26544414c4270e7d85a914",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORYID",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.INVENTORYNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `INVENTORYNAME`  VARCHAR(200)  COMMENT '库存名称' \n",
    "testsql" : "SELECT `INVENTORYNAME` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "5f60c9e3dfe9ae11c697d283f1a4f7af",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "INVENTORYNAME",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.PRODUCTID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `PRODUCTID`  VARCHAR(60)  COMMENT '产品' \n",
    "testsql" : "SELECT `PRODUCTID` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "c7e43c42b1aa307c1df43654755b98ec",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTID",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.PRODUCTID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE T_INVENTORY ADD CONSTRAINT F7A6D32753B470B917 FOREIGN KEY(PRODUCTID) REFERENCES PRODUCT(PRODUCTID)",
    "psobjid" : "c7e43c42b1aa307c1df43654755b98ec",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTID",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.PRODUCTNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `PRODUCTNAME`  VARCHAR(100)  COMMENT '产品' \n",
    "testsql" : "SELECT `PRODUCTNAME` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "c978f5f405dd78de23baa9e647aa783a",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PRODUCTNAME",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.UOMID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `UOMID`  VARCHAR(60)  COMMENT '计价单位' \n",
    "testsql" : "SELECT `UOMID` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "ceb9402938b62d81857a8513f089d714",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMID",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.UOMID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE T_INVENTORY ADD CONSTRAINT F4C722AF6037A6A118 FOREIGN KEY(UOMID) REFERENCES UOM(UOMID)",
    "psobjid" : "ceb9402938b62d81857a8513f089d714",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMID",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.UOMNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `UOMNAME`  VARCHAR(100)  COMMENT '计价单位' \n",
    "testsql" : "SELECT `UOMNAME` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "b74577b857b636c9098e9b6bc307b7a5",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UOMNAME",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "023e1ca6160897ce2faf00b91bf89475",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:47:42"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "T_INVENTORY.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `T_INVENTORY`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `T_INVENTORY` WHERE 1<>1",
    "psobjid" : "44bcf10ef1fb36eef69df97b8aafea25",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:47:42"
  } ]
}