{
  "psdataentityname" : "CATEGORY",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "Category",
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "memo" : "Entity for categorizing records to make it easier for your customers to find them on portals and through search.",
  "useraction" : 0,
  "logicname" : "类别",
  "existingmodel" : 0,
  "systemflag" : 0,
  "tablename" : "CATEGORY",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto26",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "usertag" : "Uniqueidentifier",
    "enableuserinput" : 3,
    "psdefieldname" : "CATEGORYID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/CATEGORYID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CategoryId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 1,
    "length" : 60,
    "logicname" : "类别 ID",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto4275",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CATEGORYID][CategoryId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CATEGORYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 3,
    "psdefieldname" : "CATEGORYNUMBER",
    "psdatatypename" : "长文本，没有长度限制",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/CATEGORYNUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CategoryNumber",
    "psdatatypeid" : "LONGTEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "类别编号",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto108",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CATEGORYNUMBER][CategoryNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CATEGORYNUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "DateTime",
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto313",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CREATEDATE][CreateDate]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 0,
    "psdefieldname" : "CREATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto737",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[CREATEMAN][CreateMan]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Memo",
    "enableuserinput" : 3,
    "psdefieldname" : "DESCRIPTION",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/DESCRIPTION",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "Description",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 2000,
    "logicname" : "说明",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto1357",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[DESCRIPTION][Description]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "DESCRIPTION",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Decimal",
    "enableuserinput" : 3,
    "psdefieldname" : "EXCHANGERATE",
    "psdatatypename" : "大数值",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/EXCHANGERATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "ExchangeRate",
    "psdatatypeid" : "BIGDECIMAL",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "汇率",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto4002",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[EXCHANGERATE][ExchangeRate]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "EXCHANGERATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Integer",
    "enableuserinput" : 3,
    "psdefieldname" : "IMPORTSEQUENCENUMBER",
    "psdatatypename" : "整型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/IMPORTSEQUENCENUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "ImportSequenceNumber",
    "psdatatypeid" : "INT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "导入序号",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto530",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[IMPORTSEQUENCENUMBER][ImportSequenceNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "IMPORTSEQUENCENUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "DateTime",
    "enableuserinput" : 3,
    "psdefieldname" : "OVERRIDDENCREATEDON",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/OVERRIDDENCREATEDON",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OverriddenCreatedOn",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "记录创建时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto147",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OVERRIDDENCREATEDON][OverriddenCreatedOn]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OVERRIDDENCREATEDON",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Owner",
    "enableuserinput" : 3,
    "psdefieldname" : "OWNERID",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/OWNERID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OwnerId",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "负责人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "usertag2" : "systemuser,team",
    "psdefformitems" : [ {
      "codename" : "Auto1171",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OWNERID][OwnerId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OWNERID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "EntityName",
    "enableuserinput" : 3,
    "psdefieldname" : "OWNERTYPE",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/OWNERTYPE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "OwnerType",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 100,
    "logicname" : "负责人类型",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto4559",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[OWNERIDTYPE][OwnerIdType]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "OWNERTYPE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Lookup",
    "enableuserinput" : 3,
    "psdefieldname" : "PARENTCATEGORYID",
    "psdatatypename" : "外键值",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/PARENTCATEGORYID",
    "validflag" : 1,
    "derpsdefid" : "<PSDATAENTITY>/CATEGORYID",
    "physicalfield" : 1,
    "codename" : "ParentCategoryId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "CATEGORYID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "父类别",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "usertag2" : "category",
    "psdername" : "DER1N_CATEGORY__CATEGORY__PARENTCATEGORYID",
    "psderid" : "<PSDATAENTITY>/DER1N_CATEGORY__CATEGORY__PARENTCATEGORYID",
    "psdefformitems" : [ {
      "codename" : "Auto4357",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[PARENTCATEGORYID][ParentCategoryId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_PARENTCATEGORYID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "PARENTCATEGORYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Integer",
    "enableuserinput" : 3,
    "psdefieldname" : "SEQUENCENUMBER",
    "psdatatypename" : "整型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/SEQUENCENUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "SequenceNumber",
    "psdatatypeid" : "INT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "显示顺序",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto3610",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[SEQUENCENUMBER][SequenceNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SEQUENCENUMBER",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 3,
    "psdefieldname" : "TITLE",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/TITLE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "Title",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 155,
    "logicname" : "标题",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 0,
    "psdefformitems" : [ {
      "codename" : "Auto2316",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[TITLE][Title]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_TITLE_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "TITLE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "Lookup",
    "enableuserinput" : 3,
    "psdefieldname" : "TRANSACTIONCURRENCYID",
    "psdatatypename" : "外键值",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/TRANSACTIONCURRENCYID",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/TRANSACTIONCURRENCY/TRANSACTIONCURRENCYID",
    "physicalfield" : 1,
    "codename" : "TransactionCurrencyId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "TRANSACTIONCURRENCYID",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "货币",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "usertag2" : "transactioncurrency",
    "psdername" : "DER1N_CATEGORY__TRANSACTIONCURRENCY__TRANSACTIONCURRENCYID",
    "psderid" : "<PSDATAENTITY>/DER1N_CATEGORY__TRANSACTIONCURRENCY__TRANSACTIONCURRENCYID",
    "psdefformitems" : [ {
      "codename" : "Auto26",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[TRANSACTIONCURRENCYID][TransactionCurrencyId]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_TRANSACTIONCURRENCYID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "TRANSACTIONCURRENCYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "DateTime",
    "enableuserinput" : 0,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto2861",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[UPDATEDATE][UpdateDate]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "String",
    "enableuserinput" : 0,
    "psdefieldname" : "UPDATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto680",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[UPDATEMAN][UpdateMan]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "usertag" : "BigInt",
    "enableuserinput" : 3,
    "psdefieldname" : "VERSIONNUMBER",
    "psdatatypename" : "大整型",
    "pssysdbcolumnid" : "DEFAULT/CATEGORY/VERSIONNUMBER",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "VersionNumber",
    "psdatatypeid" : "BIGINT",
    "createdate" : "2020-08-07 09:43:50",
    "psdetableid" : "<PSDATAENTITY>/CATEGORY",
    "indextype" : 0,
    "pkey" : 0,
    "logicname" : "VersionNumber",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "psdefformitems" : [ {
      "codename" : "Auto3722",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "CUSTOM",
      "psdefformitemname" : "[VERSIONNUMBER][VersionNumber]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "移动端默认"
    }, {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "VERSIONNUMBER",
      "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/CATEGORY",
    "psdetablename" : "CATEGORY",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:22:11"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `CATEGORY`(\n`CATEGORYNUMBER`  MEDIUMTEXT COMMENT '类别编号' \n,`OVERRIDDENCREATEDON`  DATETIME COMMENT '记录创建时间' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`IMPORTSEQUENCENUMBER`  INTEGER COMMENT '导入序号' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`OWNERID`  VARCHAR(60) COMMENT '负责人' \n,`DESCRIPTION`  VARCHAR(2000) COMMENT '说明' \n,`TITLE`  VARCHAR(155) COMMENT '标题' \n,`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`OWNERTYPE`  VARCHAR(100) COMMENT '负责人类型' \n,`SEQUENCENUMBER`  INTEGER COMMENT '显示顺序' \n,`VERSIONNUMBER`  BIGINT(20) COMMENT 'VersionNumber' \n,`EXCHANGERATE`  DECIMAL(12,0) COMMENT '汇率' \n,`CATEGORYID`  VARCHAR(60)  NOT NULL PRIMARY KEY COMMENT '类别 ID' \n,`TRANSACTIONCURRENCYID`  VARCHAR(60) COMMENT '货币' \n,`PARENTCATEGORYID`  VARCHAR(60) COMMENT '父类别' \n)COMMENT='类别';",
    "testsql" : "SELECT 1 FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "35de6b0a4044d197c1674de54d0457cb",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CATEGORY",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.CATEGORYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `CATEGORYID`  VARCHAR(60)  COMMENT '类别 ID' \n",
    "testsql" : "SELECT `CATEGORYID` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "ea7fea25f494553371f29de95a2e2e09",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CATEGORYID",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.CATEGORYNUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `CATEGORYNUMBER`  MEDIUMTEXT  COMMENT '类别编号' \n",
    "testsql" : "SELECT `CATEGORYNUMBER` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "064dbe3250b2ea26bfd55aa53e3e6377",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CATEGORYNUMBER",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "11849e919dc93088f325930ec4b42b1d",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "27e3f9989d13a50662e93c618585a874",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.DESCRIPTION",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `DESCRIPTION`  VARCHAR(2000)  COMMENT '说明' \n",
    "testsql" : "SELECT `DESCRIPTION` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "4bdff99d8f6f4dd5cee30efe3068f35d",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "DESCRIPTION",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.EXCHANGERATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `EXCHANGERATE`  DECIMAL(12,0)  COMMENT '汇率' \n",
    "testsql" : "SELECT `EXCHANGERATE` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "dbb7238c69a48db5a056ac6a5e5cf290",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "EXCHANGERATE",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.IMPORTSEQUENCENUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `IMPORTSEQUENCENUMBER`  INTEGER  COMMENT '导入序号' \n",
    "testsql" : "SELECT `IMPORTSEQUENCENUMBER` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "1d8b2732c1c59261d556343f8073617b",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "IMPORTSEQUENCENUMBER",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.OVERRIDDENCREATEDON",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `OVERRIDDENCREATEDON`  DATETIME  COMMENT '记录创建时间' \n",
    "testsql" : "SELECT `OVERRIDDENCREATEDON` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "0832a680c27b71e7bfa3571338f0d415",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OVERRIDDENCREATEDON",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.OWNERID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `OWNERID`  VARCHAR(60)  COMMENT '负责人' \n",
    "testsql" : "SELECT `OWNERID` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "41c2ee5b73e1958597cbb950c33de7e6",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OWNERID",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.OWNERTYPE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `OWNERTYPE`  VARCHAR(100)  COMMENT '负责人类型' \n",
    "testsql" : "SELECT `OWNERTYPE` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "bb3a96652a15e150a224a92876be39a0",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "OWNERTYPE",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.PARENTCATEGORYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE CATEGORY ADD CONSTRAINT FB1009E6D741F13CF5 FOREIGN KEY(PARENTCATEGORYID) REFERENCES CATEGORY(CATEGORYID)",
    "psobjid" : "ef71defedb2edc5447bfce9ef29fabce",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PARENTCATEGORYID",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.PARENTCATEGORYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `PARENTCATEGORYID`  VARCHAR(60)  COMMENT '父类别' \n",
    "testsql" : "SELECT `PARENTCATEGORYID` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "ef71defedb2edc5447bfce9ef29fabce",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "PARENTCATEGORYID",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.SEQUENCENUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `SEQUENCENUMBER`  INTEGER  COMMENT '显示顺序' \n",
    "testsql" : "SELECT `SEQUENCENUMBER` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "c47852cc297cf1e03b12e5d595cff6bb",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "SEQUENCENUMBER",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.TITLE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `TITLE`  VARCHAR(155)  COMMENT '标题' \n",
    "testsql" : "SELECT `TITLE` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "802f9347f2372581deb88eda669a0bcb",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "TITLE",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "FKEY",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.TRANSACTIONCURRENCYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE CATEGORY ADD CONSTRAINT F5EB6B57A306D99587 FOREIGN KEY(TRANSACTIONCURRENCYID) REFERENCES TRANSACTIONCURRENCY(TRANSACTIONCURRENCYID)",
    "psobjid" : "0167e289cb451a7659fac393a007080e",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "TRANSACTIONCURRENCYID",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.TRANSACTIONCURRENCYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `TRANSACTIONCURRENCYID`  VARCHAR(60)  COMMENT '货币' \n",
    "testsql" : "SELECT `TRANSACTIONCURRENCYID` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "0167e289cb451a7659fac393a007080e",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "TRANSACTIONCURRENCYID",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "9b33e0a83cf33543ceb2ba93430fb691",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-08-07 09:49:53"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "255a74d0e26482465c209912eaa4a323",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-08-07 09:49:52"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "CATEGORY.VERSIONNUMBER",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `CATEGORY`\nADD COLUMN `VERSIONNUMBER`  BIGINT(20)  COMMENT 'VersionNumber' \n",
    "testsql" : "SELECT `VERSIONNUMBER` FROM `CATEGORY` WHERE 1<>1",
    "psobjid" : "cac28ebdd5c5400bd782958f4ef8e504",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "VERSIONNUMBER",
    "createdate" : "2020-08-07 09:49:53"
  } ]
}