{
  "virtualflag" : 0,
  "psdataentityname" : "DUTY",
  "decat" : "DEFAULT",
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 1,
  "codename" : "Duty",
  "noviewmode" : 1,
  "createdate" : "2020-09-01 16:56:37",
  "storagemode" : 1,
  "logicname" : "职责",
  "existingmodel" : 0,
  "enatempdata" : 0,
  "systemflag" : 0,
  "tablename" : "DUTY",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-09-01 16:56:37",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "DRGroup",
    "createdate" : "2020-09-01 16:56:38",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 3,
    "psdefieldname" : "APPLICATIONID",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/DUTY/APPLICATIONID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "Applicationid",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-09-01 17:02:49",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "应用ID",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 17:02:49",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[APPLICATIONID][应用ID]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 17:02:49",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[APPLICATIONID][应用ID]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "APPLICATIONID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 17:02:49"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "APPLICATIONNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/DUTY/APPLICATIONNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "Applicationname",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-09-01 17:02:58",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "应用名称",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 17:02:59",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[APPLICATIONNAME][应用名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 17:02:59",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[APPLICATIONNAME][应用名称]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "APPLICATIONNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 17:02:58"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/DUTY/CREATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-09-01 16:56:48",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:49",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[CREATEDATE][建立时间]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:49",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[CREATEDATE][建立时间]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:48"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "CREATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/DUTY/CREATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "CreateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-09-01 16:56:48",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "predefinetype" : "CREATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "建立人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:48",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[CREATEMAN][建立人]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:48",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[CREATEMAN][建立人]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "CREATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:48"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "DUTYID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "pssysdbcolumnid" : "DEFAULT/DUTY/DUTYID",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "DutyId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-09-01 16:56:47",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "pkey" : 1,
    "length" : 100,
    "logicname" : "职责标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:47",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[DUTYID][职责标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:47",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[DUTYID][职责标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "DUTYID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:47"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "DUTYNAME",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/DUTY/DUTYNAME",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "DutyName",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-09-01 16:56:47",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "pkey" : 0,
    "length" : 200,
    "logicname" : "职责名称",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:48",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[DUTYNAME][职责名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:48",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[DUTYNAME][职责名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_DUTYNAME_LIKE",
      "createdate" : "2020-09-01 16:56:48"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "DUTYNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:48"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "pssysdbcolumnid" : "DEFAULT/DUTY/UPDATEDATE",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-09-01 16:56:49",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:49",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UPDATEDATE][更新时间]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UPDATEDATE][更新时间]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEDATE",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:49"
    } ]
  }, {
    "enableuserinput" : 3,
    "psdefieldname" : "UPDATEMAN",
    "psdatatypename" : "文本，可指定长度",
    "pssysdbcolumnid" : "DEFAULT/DUTY/UPDATEMAN",
    "validflag" : 1,
    "physicalfield" : 1,
    "codename" : "UpdateMan",
    "psdatatypeid" : "TEXT",
    "createdate" : "2020-09-01 16:56:49",
    "psdetableid" : "<PSDATAENTITY>/DUTY",
    "predefinetype" : "UPDATEMAN",
    "pkey" : 0,
    "length" : 60,
    "logicname" : "更新人",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "DUTY",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-09-01 16:56:49",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[UPDATEMAN][更新人]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-09-01 16:56:49",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[UPDATEMAN][更新人]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "UPDATEMAN",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-09-01 16:56:49"
    } ]
  } ],
  "psdeopprivs" : [ {
    "logicname" : "建立",
    "createdate" : "2020-09-01 16:56:37",
    "psdeopprivname" : "CREATE"
  }, {
    "logicname" : "删除",
    "createdate" : "2020-09-01 16:56:37",
    "psdeopprivname" : "DELETE"
  }, {
    "logicname" : "读取",
    "createdate" : "2020-09-01 16:56:37",
    "psdeopprivname" : "READ"
  }, {
    "logicname" : "更新",
    "createdate" : "2020-09-01 16:56:37",
    "psdeopprivname" : "UPDATE"
  } ],
  "psdetables" : [ {
    "pssysdbtableid" : "DEFAULT/DUTY",
    "psdetablename" : "DUTY",
    "tabletype" : "MAIN",
    "createdate" : "2020-09-02 15:16:09"
  } ],
  "pssysdmitems" : [ {
    "dbobjtype" : "TABLE",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY",
    "userflag" : 0,
    "createsql4" : "CREATE TABLE `DUTY`(\n`DUTYID`  VARCHAR(100)  NOT NULL PRIMARY KEY COMMENT '职责标识' \n,`DUTYNAME`  VARCHAR(200) COMMENT '职责名称' \n,`CREATEMAN`  VARCHAR(60) COMMENT '建立人' \n,`CREATEDATE`  DATETIME COMMENT '建立时间' \n,`UPDATEDATE`  DATETIME COMMENT '更新时间' \n,`UPDATEMAN`  VARCHAR(60) COMMENT '更新人' \n,`APPLICATIONID`  VARCHAR(100) COMMENT '应用ID' \n,`APPLICATIONNAME`  VARCHAR(100) COMMENT '应用名称' \n)COMMENT='职责';",
    "testsql" : "SELECT 1 FROM `DUTY` WHERE 1<>1",
    "psobjid" : "51221b5ee7960284dad20fbbb1f07b02",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "DUTY",
    "createdate" : "2020-09-01 17:23:35"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.APPLICATIONID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `APPLICATIONID`  VARCHAR(100)  COMMENT '应用ID' \n",
    "testsql" : "SELECT `APPLICATIONID` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "d00fc6006db5b3aa093c35b92aed606b",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "APPLICATIONID",
    "createdate" : "2020-09-01 17:23:36"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.APPLICATIONNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `APPLICATIONNAME`  VARCHAR(100)  COMMENT '应用名称' \n",
    "testsql" : "SELECT `APPLICATIONNAME` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "4a45750117f609b61f49ba7a535f6cd1",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "APPLICATIONNAME",
    "createdate" : "2020-09-01 17:23:36"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.CREATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `CREATEDATE`  DATETIME  COMMENT '建立时间' \n",
    "testsql" : "SELECT `CREATEDATE` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "849bb17488c0d7ac664fa2f5ab05f540",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEDATE",
    "createdate" : "2020-09-01 17:23:36"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.CREATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `CREATEMAN`  VARCHAR(60)  COMMENT '建立人' \n",
    "testsql" : "SELECT `CREATEMAN` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "82b9602c18a92800591d0cf62d615328",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "CREATEMAN",
    "createdate" : "2020-09-01 17:23:35"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.DUTYID",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `DUTYID`  VARCHAR(100)  COMMENT '职责标识' \n",
    "testsql" : "SELECT `DUTYID` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "7bf2e23cb9a0ebe3e395b68713645605",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "DUTYID",
    "createdate" : "2020-09-01 17:23:35"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.DUTYNAME",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `DUTYNAME`  VARCHAR(200)  COMMENT '职责名称' \n",
    "testsql" : "SELECT `DUTYNAME` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "d80d45a35ea22d28731930a5b5528a2d",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "DUTYNAME",
    "createdate" : "2020-09-01 17:23:35"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.UPDATEDATE",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `UPDATEDATE`  DATETIME  COMMENT '更新时间' \n",
    "testsql" : "SELECT `UPDATEDATE` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "5553744062201f318f66666d50bd2e0e",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEDATE",
    "createdate" : "2020-09-01 17:23:36"
  }, {
    "dbobjtype" : "COLUMN",
    "pssystemdbcfgname" : "MYSQL5",
    "pssysdmitemname" : "DUTY.UPDATEMAN",
    "userflag" : 0,
    "createsql4" : "ALTER TABLE `DUTY`\nADD COLUMN `UPDATEMAN`  VARCHAR(60)  COMMENT '更新人' \n",
    "testsql" : "SELECT `UPDATEMAN` FROM `DUTY` WHERE 1<>1",
    "psobjid" : "d41f21b9dddbe3356d732ab820205ecf",
    "pssystemdbcfgid" : "MYSQL5",
    "psobjname" : "UPDATEMAN",
    "createdate" : "2020-09-01 17:23:36"
  } ]
}