{
  "psdataentityname" : "SYS_USER_ROLE",
  "decat" : "DEFAULT",
  "enableselect" : 1,
  "validflag" : 1,
  "logicvalid" : 0,
  "detype" : 3,
  "lnpslanresid" : "Auto146",
  "codename" : "SysUserRole",
  "viewname" : "V_SYS_USER_ROLE",
  "enablededataset" : 1,
  "noviewmode" : 1,
  "createdate" : "2020-08-07 09:43:50",
  "lnpslanresname" : "实体逻辑名称（DE.LNAME.*）[SYS_USER_ROLE]",
  "pssubsysserviceapiid" : "<PSMODULE>/uaa",
  "serviceapiflag" : 1,
  "storagemode" : 4,
  "useraction" : 0,
  "logicname" : "用户角色关系",
  "existingmodel" : 0,
  "enabledeaction" : 1,
  "systemflag" : 0,
  "viewname3" : "V3_SYS_USER_ROLE",
  "viewname2" : "V2_SYS_USER_ROLE",
  "viewname4" : "V4_SYS_USER_ROLE",
  "tablename" : "IBZUSER_ROLE",
  "psdedbcfgs" : [ {
    "validflag" : 1,
    "createdate" : "2020-08-07 09:43:50",
    "psdedbcfgname" : "MYSQL5"
  } ],
  "psdedrgroups" : [ {
    "codename" : "Auto3",
    "createdate" : "2020-08-07 09:43:50",
    "psdedrgroupname" : "详细信息",
    "ordervalue" : 10000
  } ],
  "psdefields" : [ {
    "enableuserinput" : 3,
    "ordervalue" : 1,
    "psdefieldname" : "SYS_USER_ROLEID",
    "psdatatypename" : "全局唯一标识，文本类型，用户不可见",
    "validflag" : 1,
    "physicalfield" : 1,
    "lnpslanresid" : "Auto206",
    "codename" : "UserRoleId",
    "psdatatypeid" : "GUID",
    "createdate" : "2020-08-07 09:43:50",
    "lnpslanresname" : "属性逻辑名称（DEF.LNAME.*）[SYS_USER_ROLEID]",
    "pkey" : 1,
    "length" : 100,
    "logicname" : "用户角色关系标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "IBZUSER_ROLE",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[SYS_USER_ROLEID][用户角色关系表标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[SYS_USER_ROLEID][用户角色关系表标识]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SYS_USER_ROLEID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 3,
    "psdefieldname" : "SYS_ROLEID",
    "psdatatypename" : "外键值",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_ROLE/SYS_ROLEID",
    "physicalfield" : 1,
    "codename" : "RoleId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "SYS_ROLEID",
    "createdate" : "2020-08-07 09:43:50",
    "unionkeyvalue" : "KEY1",
    "pkey" : 0,
    "logicname" : "角色标识",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_ROLE_SYS_ROLEID",
    "tablename" : "IBZUSER_ROLE",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_ROLE_SYS_ROLEID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[SYS_ROLEID][角色表标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[SYS_ROLEID][角色表标识]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_SYS_ROLEID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SYS_ROLEID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 4,
    "psdefieldname" : "SYS_ROLENAME",
    "psdatatypename" : "外键值文本",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_ROLE/SYS_ROLENAME",
    "physicalfield" : 0,
    "codename" : "RoleName",
    "psdatatypeid" : "PICKUPTEXT",
    "derpsdefname" : "SYS_ROLENAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "角色名称",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_ROLE_SYS_ROLEID",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_ROLE_SYS_ROLEID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[SYS_ROLENAME][角色名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[SYS_ROLENAME][角色名称]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SYS_ROLENAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 5,
    "psdefieldname" : "SYS_USERID",
    "psdatatypename" : "外键值",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_USER/USERID",
    "physicalfield" : 1,
    "codename" : "UserId",
    "psdatatypeid" : "PICKUP",
    "derpsdefname" : "USERID",
    "createdate" : "2020-08-07 09:43:50",
    "unionkeyvalue" : "KEY2",
    "pkey" : 0,
    "logicname" : "用户标识",
    "majorfield" : 1,
    "deftype" : 1,
    "allowempty" : 1,
    "fkey" : 1,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "tablename" : "IBZUSER_ROLE",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[SYS_USERID][用户标识]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[SYS_USERID][用户标识]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_SYS_USERID_EQ",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SYS_USERID",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 6,
    "psdefieldname" : "SYS_USERNAME",
    "psdatatypename" : "外键值文本",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_USER/PERSONNAME",
    "physicalfield" : 0,
    "codename" : "PersonName",
    "psdatatypeid" : "PICKUPTEXT",
    "derpsdefname" : "PERSONNAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "用户名称",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[SYS_USERNAME][用户名称]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[SYS_USERNAME][用户名称]移动端默认"
    } ],
    "psdefsfitems" : [ {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "EQ",
      "psdbvalueopname" : "等于(=)",
      "psdefsfitemname" : "N_SYS_USERNAME_EQ",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdeid" : "<PSDATAENTITY>",
      "psdbvalueopid" : "LIKE",
      "psdbvalueopname" : "文本包含(%)",
      "psdefsfitemname" : "N_SYS_USERNAME_LIKE",
      "createdate" : "2020-08-07 09:43:50"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "SYS_USERNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 7,
    "psdefieldname" : "LOGINNAME",
    "psdatatypename" : "外键值附加数据",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_USER/LOGINNAME",
    "physicalfield" : 0,
    "codename" : "LoginName",
    "psdatatypeid" : "PICKUPDATA",
    "derpsdefname" : "LOGINNAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "登录名",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[LOGINNAME][登录名]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[LOGINNAME][登录名]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "LOGINNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "LOGINNAME",
      "customdatatype" : 0,
      "dbtype" : "POSTGRESQL",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "LOGINNAME",
      "customdatatype" : 0,
      "dbtype" : "ORACLE",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 8,
    "psdefieldname" : "ORGNAME",
    "psdatatypename" : "外键值附加数据",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_USER/ORGNAME",
    "physicalfield" : 0,
    "codename" : "OrgName",
    "psdatatypeid" : "PICKUPDATA",
    "derpsdefname" : "ORGNAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "单位",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[ORGNAME][单位]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[ORGNAME][单位]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "ORGNAME",
      "customdatatype" : 0,
      "dbtype" : "ORACLE",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "ORGNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "ORGNAME",
      "customdatatype" : 0,
      "dbtype" : "POSTGRESQL",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 9,
    "psdefieldname" : "MDEPTNAME",
    "psdatatypename" : "外键值附加数据",
    "validflag" : 1,
    "derpsdefid" : "<PSMODULE>/SYS_USER/MDEPTNAME",
    "physicalfield" : 0,
    "codename" : "MDeptName",
    "psdatatypeid" : "PICKUPDATA",
    "derpsdefname" : "MDEPTNAME",
    "createdate" : "2020-08-07 09:43:50",
    "pkey" : 0,
    "length" : 100,
    "logicname" : "主部门",
    "majorfield" : 0,
    "deftype" : 3,
    "allowempty" : 1,
    "fkey" : 0,
    "psdername" : "DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psderid" : "<PSDATAENTITY>/DER1N_SYS_USER_ROLE_SYS_USER_SYS_USERID",
    "psdefformitems" : [ {
      "codename" : "Default",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "DEFAULT",
      "psdefformitemname" : "[MDEPTNAME][主部门]"
    }, {
      "codename" : "MobileDefault",
      "createdate" : "2020-08-07 09:43:50",
      "ftmode" : "MOBILEDEFAULT",
      "psdefformitemname" : "[MDEPTNAME][主部门]移动端默认"
    } ],
    "psdefdtcols" : [ {
      "psdefdtcolname" : "MDEPTNAME",
      "customdatatype" : 0,
      "dbtype" : "POSTGRESQL",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "MDEPTNAME",
      "customdatatype" : 0,
      "dbtype" : "ORACLE",
      "createdate" : "2020-08-07 09:43:50"
    }, {
      "psdefdtcolname" : "MDEPTNAME",
      "customdatatype" : 0,
      "dbtype" : "MYSQL5",
      "createdate" : "2020-08-07 09:43:50"
    } ]
  }, {
    "enableuserinput" : 3,
    "ordervalue" : 11,
    "psdefieldname" : "CREATEDATE",
    "psdatatypename" : "日期时间型",
    "validflag" : 1,
    "physicalfield" : 1,
    "lnpslanresid" : "Auto232",
    "codename" : "CreateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "lnpslanresname" : "属性逻辑名称（DEF.LNAME.*）[CREATEDATE]",
    "predefinetype" : "CREATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "建立时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "IBZUSER_ROLE",
    "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,
    "ordervalue" : 12,
    "psdefieldname" : "UPDATEDATE",
    "psdatatypename" : "日期时间型",
    "validflag" : 1,
    "physicalfield" : 1,
    "lnpslanresid" : "Auto255",
    "codename" : "UpdateDate",
    "psdatatypeid" : "DATETIME",
    "createdate" : "2020-08-07 09:43:50",
    "lnpslanresname" : "属性逻辑名称（DEF.LNAME.*）[UPDATEDATE]",
    "predefinetype" : "UPDATEDATE",
    "pkey" : 0,
    "length" : 8,
    "logicname" : "更新时间",
    "majorfield" : 0,
    "deftype" : 1,
    "allowempty" : 0,
    "fkey" : 0,
    "tablename" : "IBZUSER_ROLE",
    "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"
    } ]
  } ],
  "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"
  } ]
}