{
  "virtualflag" : 0,
  "psdataentityname" : "WEBSITERESOURCE",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "WebSiteResource",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "storagemode" : 1,
  "logicname" : "站点资源",
  "existingmodel" : 0,
  "enatempdata" : 0,
  "systemflag" : 0,
  "tablename" : "WEBSITERESOURCE",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto134",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/WEBSITERESOURCE/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "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/WEBSITERESOURCE/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "predefinetype" : "CREATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "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" : 0,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/WEBSITERESOURCE/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "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/WEBSITERESOURCE/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "predefinetype" : "UPDATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "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"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "WEBSITEID",
    "psdatatypename" : "外键值",
    "pssysdbcolumnid" : "DEFAULT/WEBSITERESOURCE/WEBSITEID",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/WEBSITE/WEBSITEID",
    "physicalfield" : 1,
    "codename" : "WebSiteId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "WEBSITEID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "pkey" : 0,
    "logicname" : "网站标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 1,
    "psdername" : "DER1N_WEBSITERESOURCE_WEBSITE_WEBSITEID",
    "tablename" : "WEBSITERESOURCE",
    "psderid" : "<PSDATAENTITY>/DER1N_WEBSITERESOURCE_WEBSITE_WEBSITEID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[WEBSITEID][实体标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[WEBSITEID][实体标识]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_WEBSITEID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "WEBSITEID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "WEBSITENAME",
    "psdatatypename" : "外键值文本",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/WEBSITE/WEBSITENAME",
    "physicalfield" : 0,
    "codename" : "WebSiteName",
    "psdatatypeid" : "PICKUPTEXT",
    "derpsdefname" : "WEBSITENAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "logicname" : "站点",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 1,
    "psdername" : "DER1N_WEBSITERESOURCE_WEBSITE_WEBSITEID",
    "psderid" : "<PSDATAENTITY>/DER1N_WEBSITERESOURCE_WEBSITE_WEBSITEID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[WEBSITENAME][实体名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[WEBSITENAME][实体名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_WEBSITENAME_EQ",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_WEBSITENAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "WEBSITENAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "WEBSITERESOURCEID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/WEBSITERESOURCE/WEBSITERESOURCEID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "WebSiteResourceId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "pkey" : 1,
    "length" : 100,
    "logicname" : "网站资源标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[WEBSITERESOURCEID][网站资源标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[WEBSITERESOURCEID][网站资源标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "WEBSITERESOURCEID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "WEBSITERESOURCENAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/WEBSITERESOURCE/WEBSITERESOURCENAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "WebSiteResourceName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/WEBSITERESOURCE",
    "pkey" : 0,
    "length" : 200,
    "logicname" : "网站资源名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "WEBSITERESOURCE",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[WEBSITERESOURCENAME][网站资源名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[WEBSITERESOURCENAME][网站资源名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_WEBSITERESOURCENAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "WEBSITERESOURCENAME",
      "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/WEBSITERESOURCE",
    "psdetablename" : "WEBSITERESOURCE",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:13:32"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `WEBSITERESOURCE`(\n`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`WEBSITERESOURCEID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT '网站资源标识' \n,`WEBSITERESOURCENAME`  VARCHAR(200) COMMENT '网站资源名称' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`WEBSITEID`  VARCHAR(100) COMMENT '网站标识' \n)COMMENT='站点资源';",
    "testsql" : "SELECT 1 FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "d86f037e3eac592046e7e2b30060e54a",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "WEBSITERESOURCE",
    "createdate" : "2020-08-07 09:47:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "b743276cc539faebd4c7931c6ccdadde",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:47:24"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "62b2917ca9b2244705af069628f1d734",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:47:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "29c8bc32144fb252eed4f5f34f416405",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:47:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "f6476599bd8088cf1245a275463fe7be",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:47:24"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.WEBSITEID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE WEBSITERESOURCE ADD CONSTRAINT FEDB548F578AF88917 FOREIGN KEY(WEBSITEID) REFERENCES WEBSITE(WEBSITEID)",
    "psobjid" : "ac288fc2b8ea2e77259a8f1e245d19e0",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "WEBSITEID",
    "createdate" : "2020-08-07 09:47:24"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.WEBSITEID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `WEBSITEID`  VARCHAR(100)  COMMENT '网站标识' \n",
    "testsql" : "SELECT `WEBSITEID` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "ac288fc2b8ea2e77259a8f1e245d19e0",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "WEBSITEID",
    "createdate" : "2020-08-07 09:47:24"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.WEBSITERESOURCEID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `WEBSITERESOURCEID`  VARCHAR(100)  COMMENT '网站资源标识' \n",
    "testsql" : "SELECT `WEBSITERESOURCEID` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "5c2631889f1055ae6fea398f74b2e492",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "WEBSITERESOURCEID",
    "createdate" : "2020-08-07 09:47:23"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "WEBSITERESOURCE.WEBSITERESOURCENAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `WEBSITERESOURCE`\nADD COLUMN `WEBSITERESOURCENAME`  VARCHAR(200)  COMMENT '网站资源名称' \n",
    "testsql" : "SELECT `WEBSITERESOURCENAME` FROM `WEBSITERESOURCE` WHERE 1<>1",
    "psobjid" : "5d30450b2c337f70ade578806afe6d00",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "WEBSITERESOURCENAME",
    "createdate" : "2020-08-07 09:47:23"
  } ]
}